docs/docs/en/api/cli/license/index.md
Manage NocoBase commercial licensing, including activating an existing license key, instance IDs, license status, and licensed plugins.
nb license <command>
| Command | Description |
|---|---|
nb license activate | Activate commercial licensing for the current env with an existing license key |
nb license id | Show or generate the instance ID for the current env |
nb license status | Show commercial license status for the current env |
nb license plugins | Manage commercial plugins allowed by the current license |
nb license id --env app1
nb license activate --env app1 --key-file ./license.txt
nb license status --env app1
nb license plugins list --env app1
nb license plugins sync --env app1