Set up your licence key
Once you download your licence key you can either:
- place the licence key in the folder current working folder of the APM binary
- create an environmental variable pointing to your licence key
We suggest the second option as it is much more convenient. The APM binary will be able to authenticate with our servers even if the licence key is not in the current working folder of the binary.
To setup an environmental variable in Windows, open the system properties and click the "Enviroment Variables..." button. In the "User variables" list, add a new variable named APM_KEY. The value of the variable should be the full path to your apm.key file.
To setup an environmental variable in Linux or macOS, add the following line to the end of your .bashrc file. The .bashrc file is located in the home directory.
In the above example the apm.key file is located in the home directory.