Install a plugin from the marketplace
Install a plugin from the marketplace to add new commands and capabilities to Claude Code. Use this to extend functionality with community or custom plugins.
/plugin marketplace add Lobbi-Docs/claude-2/plugin install lobbi-docs-plugin-marketplace@Lobbi-Docs/claude-2<@scope/plugin-name> [--version x.x.x] [--project]Install a Claude Code plugin from the marketplace.
Install the plugin specified: $ARGUMENTS
Extract from $ARGUMENTS:
@scope/plugin-name--version x.x.x, defaults to latest--project for project-local installCheck if the plugin exists in the registry. If not found:
Verify:
Show the user what permissions the plugin requires:
š Permissions requested by @scope/plugin-name:
| Permission | Risk | Description |
|------------|------|-------------|
| filesystem:read | Medium | Read files from your project |
| execute | High | Run shell commands |
ā ļø This plugin requests elevated permissions.
Proceed with installation? (Explain what you'll use it for)
Determine installation location:
~/.claude/plugins/plugin-name/--project): .claude/plugins/plugin-name/Execute installation:
# Clone/download the plugin
git clone https://registry.example.com/scope/plugin-name.git <target-path>
After installation:
Show the user:
š¦ Installing @claude/git-assistant v1.5.2...
ā
Downloaded from registry
ā
Verified plugin signature
ā
Installed to ~/.claude/plugins/git-assistant/
š Plugin Contents:
- Commands: /git-assistant:commit, /git-assistant:pr, /git-assistant:review
- Skills: commit-message-generation, pr-description
- Hooks: pre-commit validation
āļø Configuration:
Create ~/.claude/git-assistant.local.md to customize settings.
š Quick Start:
Try: /git-assistant:commit to generate a commit message
Installation complete!
ā Plugin @scope/unknown-plugin not found.
Did you mean:
- @scope/known-plugin
- @other/similar-plugin
Search marketplace: /plugin-marketplace:browse <query>
ā ļø @scope/plugin-name is already installed (v1.2.0).
Options:
- Update to latest: /plugin-marketplace:update @scope/plugin-name
- Reinstall: /plugin-marketplace:install @scope/plugin-name --force
ā Cannot write to ~/.claude/plugins/
Solutions:
- Check directory permissions
- Use --project flag for local install
- Run with appropriate permissions