how to add path on mac code example
Example 1: $path mac
sudo nano /etc/paths
Example 2: which path variable should i use in mac
export PATH=$HOME/bin:./node_modules/.bin:$PATH
Example 3: mac add a directory to path
cp bin/phantomjs.app/Contents/MacOS/phantomjs /usr/local/bin