Jump to content






Photo
- - - - -

change PATH in OS X

Posted by notKlaatu , 07 August 2008 · 64 views

to change PATH in OS X:
$ cd ~ && vim .profile
In vim (or you can use nano if you want), add to the .profile document:
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
...or whatever directories you are trying to add to your path. (the /opt/local/bin stuff is helpful becuase if you're running MacPorts like I am, you can just type in the name of the ported app you are trying to launch and it knows where to look.)That's it. You'll have to close your current terminal window in order for this to kick in.




November 2014

S M T W T F S
       1
2345678
9101112131415
16171819202122
23242526272829
30      

Recent Entries

Recent Comments

Search My Blog

BinRev is hosted by the great people at Lunarpages!