export PATH=$PATH:<Path-to-folder-you-want-to-add>
sudo nano /etc/paths https://www.architectryan.com/2012/10/02/add-to-the-path-on-mac-os-x-mountain-lion/