Add a new path to your $PATH variable on OS X Lion

Sometimes you need to add a new path to your $PATH variable. This is easy to do by adding a new line to your paths file.

cd /etc/
vim paths

Once you have added the path, you can execute any executables in Terminal, without having to specify the full path.

Timeline

Newsletter

Don't have time to check my blog? Get a weekly email with all the new posts. This is my personal blog, so obviously it is 100% spam free.

Metadata

This entry was posted on Saturday, September 29th, 2012 at 12:31 pm and is filed under Life, Tech. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.