Thanks to visit codestin.com
Credit goes to docs.nocobase.com

nb plugin disable

Disable one or more plugins in the selected env.

Usage

nb plugin disable <packages...> [flags]

Parameters

ParameterTypeDescription
<packages...>string[]Plugin package names, required; supports multiple values
--env, -estringCLI env name; uses the current env if omitted
--yes, -ybooleanWhen an explicitly passed --env targets a different env than the current env, skip the interactive confirmation prompt

Examples

nb plugin disable @nocobase/plugin-sample
nb plugin disable @nocobase/plugin-a @nocobase/plugin-b
nb plugin disable -e local @nocobase/plugin-sample
nb plugin disable -e local --yes @nocobase/plugin-sample

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.