Add Command Location to $PATH in Mac/Linux


$PATH = all of the places your MAC looks for one word Terminal commands/apps
So that when your type a command into Terminal, like 'git', MAC will know where to look for it.


EXAMPLE (replace with your directory): /opt/bin

STATUS 
  1. Terminal
  2. echo $PATH
ADD
  1. Terminal
  2. Add at beginning: PATH=/opt/bin:$PATH
    Add at end: PATH=$PATH:/opt/bin  

USER RESET
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 
MASTER
nano /etc/environment