Nx Powerpack unlocks features of Nx that are particularly useful for larger organizations. Powerpack is available for Nx version 19.8 and higher. The features include the ability to:
Self-hosted caching is now free for everyone. Read more about remote caching options here.
Activating Powerpack is a two-step process.
Step 1: Get an Activation Key
Section titled “Step 1: Get an Activation Key”You can purchase a license online.
If you're an existing Nx Cloud user, you can buy Nx Powerpack on the Nx Cloud organization settings page. The license will be available automatically.
If you are unsure how to proceed, starting with a trial process is recommended, and we will accommodate your organization's needs. You can reach out here to get a free trial license or read more about how trials work.
Step 2: Register the Activation Key
Section titled “Step 2: Register the Activation Key”To register the activation key in your repository, run the nx register
command.
nx register YOUR_ACTIVATION_KEY
The key will be saved in your repository and should be committed so that every developer has access to the Powerpack features. Only one developer needs to run this. The rest of the team will gain access to Nx Powerpack features once they pull the changes including the checked-in file.
Another option is to use an environment variable in CI.
NX_KEY=YOUR_ACTIVATION_KEY
Whether you use the nx register <your-key>
command or set the environment variable, Nx Powerpack does not make any requests to external APIs. No data is collected or sent anywhere.
Use an environment variable for your activation key such that it is not committed to the repository.
NX_KEY=YOUR_ACTIVATION_KEY