I need to set up environment variables for Pixar RenderMan Pro Server in macOS 10.13.

Yosemite, El Capitan, Sierra and High Sierra no longer recognize environment.plist located in a hidden .MacOSX directory:

<plist version="1.0">

At the present time I'm using .bash_profile to set up environment variables:

echo RenderManProServer environment variables are set...

export DYLD_LIBRARY_PATH=/Applications/Pixar/RenderManProServer-21.5/lib/
export RMANTREE=/Applications/Pixar/RenderManProServer-21.5/

What else methods besides the described above allow Mac user to set up environment variables in macOS High Sierra?


If you are looking for a system-wide setting, you can add a snippet to /etc/profile for all shells, or /etc/bashrc for just interactive Bash instances.

You must log in to answer this question.