how to set path in bash_profile on macos mojave 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: 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/