Setting Environment Variables on Mac

To set an environment variable on Mac, enter the following command at a shell prompt according to which shell you are using:

csh/tcsh:

setenv variable value

bash/ksh:

export variable=value

where variable is the name of the environment variable (such as SCHRODINGER) and value is the value you want to assign to the variable, (such as /opt/schrodinger2026-1).

To find out what environment variables are set, use the env command.

To remove a variable from the environment, use the following commands:

csh/tcsh:

unsetenv variable

bash/ksh:

export -n variable

 

For a list of Schrödinger environment variables, see Job Control Environment Variables (JOB CONTROL IS DEPRECATED).