- Add icons for powerpack plugins on /nx-api page - Mention Powerpack requires Nx 19.8+ - Mention free OSS license in activate powerpack recipe
1.6 KiB
Activate Powerpack
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:
- Run language-agnostic conformance rules
- Define code ownership at the project level
- Change the remote cache storage location
Activating Powerpack is a two step process.
1. Purchase a License
You'll need to purchase a license online. The license is a seat-based license. If you have an open-source repository, reach out to powerpack-support@nrwl.io for a free license.
{% call-to-action title="Buy a Powerpack License" icon="nx" description="Unlock all the features of Nx" url="https://cloud.nx.app/powerpack/purchase" /%}
Once you've completed the purchase, you will receive a license key.
2. Register the License Key
{% tabs %} {% tab label="Closed Source Repository" %}
To register the license key in your repository, run the nx activate-powerpack command.
nx activate-powerpack YOUR_LICENSE_KEY
The license will be saved in your repository and should be committed so that every developer has access to the Powerpack features.
{% /tab %} {% tab label="Open Source Repository" %}
Register the license key as an environment variable that is not committed to the repository.
NX_POWERPACK_LICENSE=YOUR_LICENSE_KEY
{% /tab %} {% /tabs %}