Plugin Commands
The claude plugin command installs, updates, checks, and removes plugins from the shell.
Inside a session, /plugin opens a panel and /reload-plugins applies changes.
claude plugins is an alias of claude plugin.
For example, claude plugin list --json prints your installs as JSON.
Turn a plugin on or off with claude plugin enable and disable. Managed disableSideloadFlags turns off the session flags. State is in ~/.claude/plugins/ and in enabledPlugins.
Subcommands
-s is --scope. Scopes are user, project, and local.
Source: Plugin Commands Reference and claude plugin --help.
| Command | Status | What It Does | Flags and Notes |
|---|---|---|---|
init <name> (alias new) | Documented | Scaffolds ~/.. It loads next session as <name>@skills-. | --, --, --, -, -- (any of skills, agents, hooks, mcp, lsp, output-, channel) |
install <plugin> (alias i) | Documented | Installs a plugin from a marketplace. | - (default user), --, -, --, --, -- |
install -- | Documented | Sets the npm registry for <package>@npm installs. | Shown in --, but not in the docs table. |
⚠️ uninstall <plugin> (aliases remove, rm) | Documented | Removes the plugin from one scope. | -, --, --, -, --. On the last scope it deletes options, secrets, and data. |
enable <plugin> | Documented | Enables a plugin. | - (auto-detects local, project, then user), -- |
disable [plugin] | Documented | Disables a plugin. | -, -, --. Fails if another plugin depends on it. |
update <plugin> | Documented | Updates a plugin. | -, -, --, --. A restart or / applies it. |
list | Documented | Lists installs. | --, --, -- |
details <name> | Documented | Shows the component list and projected token cost. | No flags. |
configure <plugin> | Documented | Shows or saves the user values. | --, --. Needs the full plugin id. |
prune (alias autoremove) | Documented | Removes automatic dependencies that nothing uses. | -, --, - |
validate <path> | Documented | Checks a plugin, marketplace, or component folder. | --, --. Also /. |
tag [path] | Documented | Creates the git tag <name>--. | --, --, -, -, --. Also /. |
test [dir] | Documented | Runs the tests of a mod. | Runs every *. and *. file. |
eval [target] | Documented | Runs eval cases against a plugin. Needs 2. or later. | The docs list the main flags. -- adds --, --, --, --, --, --, --, --, --, --. Also -- for CI. |
eval init [name] | Documented | Creates an eval suite. | --, -, -- |
claude plugin eval loads and runs the plugin on your machine, as you.
Run it only for plugins you trust. The sandbox limits a bad plugin but is not a guarantee.
Marketplace Subcommands
| Command | Status | What It Does | Flags and Notes |
|---|---|---|---|
marketplace add <source> | Documented | Adds a marketplace. | --, --, --, --. The source is owner/, a git URL, an https URL, or a path. |
marketplace list | Documented | Lists marketplaces. | -- |
marketplace remove <name> (alias rm) | Documented | Removes the declaration. | --, --. On the last scope it deletes the cache and uninstalls the plugins from it. |
marketplace update [name] | Documented | Refreshes marketplaces. | -- needs a name. |
Session Commands
| Command | Status | What It Does | Notes |
|---|---|---|---|
/ (aliases /, /) | Documented | Opens the panel with the tabs Discover, Installed, Marketplaces, Stats, and Errors. | Subcommands: help, list [--, install, manage, stats, enable, disable, uninstall, configure, validate, tag, marketplace add|list|update|remove. Interactive sessions only. |
/ | Documented | Applies pending plugin changes without a restart. | Refuses a change to MCP tools that would break the prompt cache, unless you add --. Works in both modes. |
Session Flags
| Flag | Status | What It Does | Notes |
|---|---|---|---|
-- | Documented | Loads a folder or . for this session only. | The id is <name>@inline. A folder of plugins loads each child. Repeatable. The env var CLAUDE_ does the same. |
-- | Documented | Loads a . from a URL for this session only. | Repeatable. |
-- | Undocumented | Loads an inline plugin without its MCP servers. | Hidden flag. The SDK form is skip. |
Managed disableSideloadFlags: true rejects --plugin-dir, --plugin-url, --agents, and --mcp-config.
Example
claude plugin marketplace add example/team-tools
claude plugin install deploy-tools@team-tools --scope project --config REGION=eu-west-1
claude plugin details deploy-tools@team-tools
claude plugin disable deploy-tools@team-tools
claude plugin update deploy-tools@team-tools --yes
How It Works
Related Pages
- Plugins
- Marketplaces
- Plugin Loading
- CLI Subcommands and CLI Flags for the other commands