docs/docs/en/api/cli/license/status.md
Show commercial license status for the selected env.
nb license status [flags]
| Parameter | Type | Description |
|---|---|---|
--env, -e | string | CLI env name; when omitted, the current env is used |
--yes, -y | boolean | When an explicitly passed --env targets a different env than the current env, skip the interactive confirmation prompt |
--doctor | boolean | Run extra diagnostic checks and suggestions |
--json | boolean | Output JSON |
nb license status
nb license status --env app1
nb license status --env app1 --yes
nb license status --env app1 --doctor
nb license status --env app1 --json
The new CLI does not fully implement backend license status checks yet. The command can still return basic context and diagnostic placeholders, but not a complete license verdict.
If you explicitly pass --env and it differs from the current env, the CLI asks for confirmation first. In non-interactive terminals or AI agent sessions, add --yes yourself or run nb env use <name> first and try again.