EnvPane is a preference pane for macOS that lets you set environment variables for all applications, both GUI and terminal. Not only does it restore support for ~/.MacOSX/environment.plist, it also publishes your changes to the environment immediately, without the need to log out and back in. This works for changes made by manually editing ~/.MacOSX/environment.plist, as well via the preference-pane UI. EnvPane was tested on OS X 10.9 Mavericks, OS X 10.11 El Capitan, and macOS 10.12 Sierra; it should also work on OS X 10.10 "Yosemite". Apple reimplemented launchd in OS X 10.10, and in the course of doing so, deprecated the APIs used by EnvPane and even broke some of them. EnvPane adds support for the new-but-undocumented APIs, addressing the deprecation and broken APIs. EnvPane does not work for setting the PATH environment variable.
Subscribe for our newsletter with best Mac offers from MacUpdate.