how to set environment variables in mac?

MacOS Set Environment Variables | Mac OS Catalina | JAVA_HOME for macOS

You can set an environment variable permanently by placing an export command in your Bash shell’s startup script ” ~/. bashrc ” (or “~/. bash_profile “, or ” ~/. profile “) of your home directory; or ” /etc/profile ” for system-wide operations.

Managing Environmental (ENV) variables on Mac OSX

Leave a Comment

Share via
Copy link
Powered by Social Snap