Install Claude Code plugins directly from GitHub repositories in just two simple commands.
Browse the plugin directory and click on any plugin to view its detail page with installation instructions
On the plugin detail page, copy the first command to add the repository
/plugin marketplace add owner/repoReplace owner/repo with the actual GitHub path (e.g., anthropics/sugar).
A "marketplace" in Claude Code is a JSON catalog that lists available plugins. When you add a GitHub repository, you're registering it as a plugin source for discovery and installation.
Copy the second command from the plugin detail page. The command includes both the plugin name and marketplace name.
/plugin install plugin-name@marketplace-nameReplace plugin-name and marketplace-name with the values shown on the plugin detail page.
The plugin's commands, agents, skills, and integrations are now available in Claude Code. Check the plugin's README for usage instructions.
Example Installation
To install a plugin from anthropics/sugar:
Use these commands to manage installed plugins:
/plugin listSee all installed plugins and their status
/plugin enable plugin-nameActivate a previously disabled plugin
/plugin disable plugin-nameTemporarily turn off a plugin without uninstalling
/plugin uninstall plugin-nameCompletely remove a plugin from your system
Pro Tip: Context Management
Disable plugins when working on unrelated projects to keep your context clean and focused. Enable them again when you need them.
When installing plugins, you can choose where they're stored using the --scope flag. This controls who can use the plugin and whether it's shared via version control.
(default)
/plugin install plugin-name@marketplace-name --scope userPersonal plugins available across all your projects
Stored in: ~/.claude/settings.json
/plugin install plugin-name@marketplace-name --scope projectTeam plugins shared via version control with all collaborators
Stored in: .claude/settings.json
/plugin install plugin-name@marketplace-name --scope localProject-specific plugins, gitignored and not shared
Stored in: .claude/settings.local.json
Enterprise-managed plugins installed by administrators (read-only)
Stored in: managed-settings.json
When to Use Each Scope
Make sure you added the GitHub repository first with /plugin marketplace add owner/repo. Then install the plugin using its name exactly as shown on the plugin detail page.
After installing a plugin, you may need to reload Claude Code. Check if the plugin is enabled with /plugin list.
Some plugins require additional configuration for MCP servers (API keys, credentials, etc.). Check the plugin's README for setup instructions.
Now that you know how to install plugins, learn about safety and how to evaluate plugins.