Mac environment variable

For zsh terminal

nano ~/.zprofile

Add variables to the file:

export VARIABLE=VALUE

For bash terminal

nano ~/.bash_profile

Add variables to the file:

export VARIABLE=VALUE