Launchctl
Set environment variables in macOS for GUI apps
In general environment variables for GUI apps in macOS are stored in /etc/launchd.conf
.
Otherwise one can:
launchctl setenv <KEY> "<VALUE>"
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
In general environment variables for GUI apps in macOS are stored in /etc/launchd.conf
.
Otherwise one can:
launchctl setenv <KEY> "<VALUE>"