2
Possible Duplicate:
What are PATH and other environment variables, and how can I set or use them?
I'm currently trying out Homebrew and it has told me to list it's folder before the default installation path in the .profile.
After some googling it appears that I have to make this file myself as it is not generated. But I have no idea what a file like this looks like and I struggle finding any examples through the normal channels i.e Google.
Could you guys be of assistance?
Simply add
export PATH=/usr/local/bin:$PATH
to your~/.bash_profile
or~/.profile
(if you want it for other shells as well). – slhck – 2012-11-19T11:15:10.003You edit /etc/paths to have "/usr/local/bin" on top to have Homebrew's packages be prioritised. – Eivind E B – 2013-04-14T12:04:41.403