Skip to main content
The plugin:add command installs a plugin via Composer, registers it, and lists installed plugins.

Command

Syntax:
nativecli plugin:add <package> [OPTIONS]

Options

—dev

Install the plugin as a dev dependency.

—force, -f

Force plugin registration if already registered.

—rebuild

Rebuild the native app immediately after registering.

Example

nativecli plugin:add vendor/package --rebuild

See Also