Adding Harmony Binaries to the $PATH Environment Variable on macOS
You can add the path to the Harmony binary files to the $PATH environment variable. This will allow you to run Harmony and its applications and utilities from a terminal by typing the name of the executable files, without having to type their full path.
- Double-click on Configuration Assistant.
- In the Welcome screen, check the Register console applications in the path option and uncheck all other options.
- Click on Continue.
-
If you only want to add the Harmony binaries to the $PATH variable for your own user, select Register Path for my user only. If you want the Harmony binaries to be in the $PATH variable regardless of who is logged in, select Register Path for all users.
NOTE You need an account with administrator privileges to register the path for all users. -
Click on Create.
If you selected Register Path for all users, you will be prompted to enter an administrator's username and password to authorize the change.
-
To verify that the change has been applied, open a new Terminal window and type the following command:
$ echo $PATH
The path to the Harmony bin folder should be included in the output, separated by other paths with a colon.