Jump to content






Photo
- - - - -

change PATH in OS X

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




March 2015

S M T W T F S
1234567
891011121314
15161718192021
222324252627 28
293031    

Recent Entries

Recent Comments

Search My Blog

BinRev is hosted by the great people at Lunarpages!