mac edit path variable code example
Example 1: update path variable mac
export PATH=$PATH:/new/dir/location1
export PATH=$PATH:/new/dir1:/dir2:/dir/path/no3
Example 2: which path variable should i use in mac
export PATH=$HOME/bin:./node_modules/.bin:$PATH