Jump to content






Photo
- - - - -

change PATH in OS X

Posted by notKlaatu , 07 August 2008 · 77 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.




December 2014

S M T W T F S
 123456
78910111213
14151617181920
21222324 25 2627
28293031   

Recent Entries

Recent Comments

Search My Blog

BinRev is hosted by the great people at Lunarpages!