How do I use /plugin install <git address> in Claude Code?
Claude Code 2.1.337 lets /plugin install take a git@, https:// or owner/repo address. Here is how it works, what to check first and where it stops.
/plugin install <git address> is a command form that arrived in Claude Code 2.1.337, released on December 4, 2026. In the terminal you type or paste a git@, https:// or owner/repo address after /plugin install, and Claude Code installs the plugin so you can use it right away.
This guide is independent and unofficial. It follows Anthropic's changelog and documentation, all read on December 4, 2026.
What the changelog says
The Claude Code changelog dates version 2.1.337 to December 4, 2026. One line under Added covers this command:
Added
/plugin install <git address>in the terminal: type or paste agit@,https://orowner/repoaddress to install a plugin and use it right away
Three address shapes are named. Our own placeholders for each:
- SSH style:
git@github.com:your-org/your-plugin.git - Web style:
https://github.com/your-org/your-plugin - Short style:
your-org/your-plugin
The changelog line does not say anything else about the command. Everything past this point is either from Anthropic's documentation or marked as unknown.
Read the repository before you paste the address
Anthropic's plugin security page opens with a blunt sentence: "A Claude Code plugin you install can execute arbitrary code on your machine with your user privileges." Its trust warning adds that "Plugins can run code on your computer, with access to your files and shell."
The page describes a normal install as coming from a marketplace, which is a catalog with a details pane you can read first. With a bare address we know of no such pane, so the repository itself is your review.
The security page tells you which files to open in a plugin's directory:
hooks/hooks.json: "the command each hook runs".mcp.json: "each server's command or URL"bin/: every file in the directory
If you cannot read those files and explain them, do not install the plugin.
Install from an address in four steps
Check your version
Run claude --version. The command form is listed under 2.1.337, so an older build may not have it.
Open the repository and read it
Look at hooks/hooks.json, .mcp.json and the bin folder, as Anthropic's security page advises.
Run the command in a session
Type /plugin install followed by your address, in one of the three shapes above.
Confirm what loaded
Type / and look for the plugin's skills, then open /plugin and check the Installed tab.
Here is the command with a placeholder:
/plugin install your-org/your-plugin
The Claude moves worth stealing, by email
Workflows tested on real jobs, sent only when they are worth it. Free.
What you should see
The changelog says you can use the plugin right away. We cannot tell you the exact messages, and we do not know whether a scope question appears the way it does for a catalog install.
For a catalog install, Anthropic's install page says to "look for the plugin's skills under its name", in the form /<plugin>:<skill>. It also says to open the Installed tab in /plugin, "which lists the plugin with its scope". Use both checks.
That page describes three scopes: user, project and local. Its first option is labeled "Install for you (user scope)". Look at which scope your plugin landed in, because a project-scope entry affects your collaborators.
The documentation row that says the opposite
Anthropic's plugin commands reference has a table row for /plugin install <source>. It says the command "installs nothing" when the target is a path, URL or owner/repo, and reports a marketplace not found error instead.
That row contradicts the changelog line, and it most likely describes the behavior before 2.1.337. We saw the page on the same day as the release and cannot prove which is current. If you hit that error, your Claude Code is probably older than 2.1.337. Run claude --version first.
Address, marketplace or both
An address is one of three ways to install. Here is how they differ, going by the documentation:
| /plugin install <git address> | One step from a repository. Added in 2.1.337, so check your version. |
|---|---|
| /plugin install name@marketplace | Needs the marketplace registered first. Our marketplace guide calls it: Catalog first, package second. |
| /plugin install name --marketplace source | Adds the marketplace and installs the plugin in one command. Anthropic says it requires Claude Code v2.1.275 or later. |
For the catalog route in detail, see our guide on adding a marketplace. Once a plugin is in, you can score it with claude plugin eval, which the guide says runs "a plugin's eval suite against Claude Code".
Take it out again
If a plugin turns out to be wrong, the security page says to run claude plugin uninstall <plugin> in your shell with the scope you installed it at. It adds a second step: "Then restart any open sessions, which still run the plugin".
Cached files can stay on disk for a while after an uninstall. The same page says where, and how to delete them yourself.
Where this does not help
- We did not run it. We cannot confirm messages, prompts or the final scope.
- The docs may lag. The commands reference row says the opposite of the changelog, as the section above explains.
- Private repositories are unclear. For private marketplaces, Anthropic describes how SSH and HTTPS credentials are used. The changelog does not say that this applies to a plugin address.
- A bare host can fail. For marketplaces, the docs say that if you type a host without
https://, "Claude Code reads it as GitHub" shorthand and rejects it. Includehttps://or use thegit@form. - Organizations can restrict plugins. An administrator can set an "Allowlist or blocklist marketplace sources". We do not know how that treats a direct address, so ask your admin. Our guide on managed settings covers the mechanism.
- It is new. Check the changelog again before you build a routine on it.
If you want a short note when a Claude Code change like this one affects your setup, the newsletter sends one only when it matters.
What does the git address form of /plugin install do?
It installs a plugin from a repository address you type or paste, so you can use it right away. The changelog for Claude Code 2.1.337 names three address shapes: git@, https:// and owner/repo. Anthropic's pages we read do not describe the prompts it shows.
Which Claude Code version added it?
Claude Code 2.1.337, dated December 4, 2026 in Anthropic's changelog. Run claude --version to see what you have. An older build may instead report a marketplace not found error, which is what the commands reference describes for this form.
Is it safe to install a plugin from any git address?
Not by default. Anthropic's security page says a plugin "can execute arbitrary code on your machine with your user privileges". Read the repository's hooks, .mcp.json and bin files before you install, and only install from authors you trust.
Sources (checked 2026-12-04)
- Claude Code changelog: version 2.1.337, December 4, 2026, the Added line for
/plugin install <git address> - Plugin security and trust: what a plugin can run, the files to read, uninstalling, organization controls
- Install and manage plugins: confirming an install, scopes,
--marketplace, private marketplaces and bare hosts - Plugin commands reference: the
/plugin install <source>row
