MacOS Utils
Setting PATH environment variable
Add a path to the /etc/paths file | source
sudo nano /etc/paths
# append the path you wish to add
# control+o to save and control+x to exit
# test
echo $PATH
Add a path to the /etc/paths file | source
sudo nano /etc/paths
# append the path you wish to add
# control+o to save and control+x to exit
# test
echo $PATH