osx Set environment variables Add a path


Example

1.vim ~/.bash_profile

The file may not exist (if not, you can just create it).

2.type in this and save the file:

export PATH=$PATH:YOUR_PATH_HERE