Add path variable (MAC)
In this example, add /Users/mmustermann/bin/ directory to $PATH variable.
Edit the file $HOME/.bash_profile, enter:
vi $HOME/.bash_profile
OR
vi ~/.bash_profile
Append the following export command:
export PATH=$PATH:/Users/mmustermann/bin/
Finally, verify your new path settings, enter:
echo $PATH