mac add dir to path code example
Example 1: adding this directory to PATH mac
sudo nano /etc/paths
https://www.architectryan.com/2012/10/02/add-to-the-path-on-mac-os-x-mountain-lion/
Example 2: mac add a directory to path
cp bin/phantomjs.app/Contents/MacOS/phantomjs /usr/local/bin