We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
You can set an environment variable on a Mac that will be available in all apps (not just the command line) by using "launchctl" (see here):
launchctl setenv VARIABLE_NAME VALUE
Note that this will only take effect for apps started after you have set the environment variable.
If this post was enjoyable or useful for you, please share it! If you have comments, questions, or feedback, you can email my personal email. To get new posts, subscribe use the RSS feed.