44 members have voted
to change PATH in OS X:
$ cd ~ && vim .profile
In vim (or you can use nano if you want), add to the .profile document:
...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.