Set environment variables on Mac OS X Sierra?
You can create ~/.bash_profile
. The easiest way to create it is to use the touch utility: touch .bash_profile
. It is common to have a .profile
which is read if bash can not find .bash_profile. You can get the documentation from a terminal with man bash
. You can edit either of these files with any text type editor (not word processor).