Add items to environment path on OS X Leopard
on Sunday 31st May, 2009 Gabe speculated thusly…Go to terminal and type:
vim ~/.profile
Assuming you want to add the path /usr/local/bin make .profile look like this:
PATH=/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin
Separating each item with a colon.