Unclear It is not clear what controls whether --replace is available in a given session.
claude plugin install has a hidden --replace option. It switches a plugin you already installed from one marketplace (a catalog of plugins) to the copy from another: it installs the new copy, carries your plugin settings and secrets over, and uninstalls the old one. It only works between the Anthropic Directory and Anthropic's official marketplaces.
If you leave out the full id, Claude Code now says: "--replace switches one copy of a plugin for another, so it needs the full id of the copy to switch to: name@marketplace. Nothing was installed." Before, this case gave an empty message.
Other things around the switch:
- A session started with
--setting-sourcesor--restrictedthat leaves out user, project or local settings refuses the switch and tells you to try again from a session started without them. - In
/plugin, a confirmation screen asks "Switch ... to ...?", shows the plugin id and commit now and after, lists which copies will be uninstalled, and takes y to switch or n or Escape to cancel. - The plugin details view shows the commit a plugin was installed at for Anthropic Directory installs.
- The plugin update message now says the plugin was updated to the listed commit.
A --replace install that is missing the full id now tells you what to add instead of failing with no explanation.
tengu_encapsulated_pebble On for this account, and not off by defaultThe flag server returned on for the one account this site reads, and nothing in this release compiles it off by default. The compiled default is shown below, and says which it is when we cannot read one: a fifth of gates compile in a string or a number rather than on or off, and most published releases have no gate table behind them at all. No client can see what the server returns for your account.
This account: on · anonymous baseline: on · compiled default in v2.1.287: on
These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.
tengu_spicy_blossom Not enough to sayNothing here resolved what this flag was doing on this version, so nothing here should be read as on or off.
This account: no value returned · anonymous baseline: no value returned · compiled default in v2.1.287: off
These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.
Read once, for one account on one subscription tier, against v2.1.287. It isn't a statement about your account. What a flag value here can and cannot tell you
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
For the other `claude plugin install` flags, see [plugin install](/docs/en/plugins/cli-reference#plugin-install).plugins/install see the edit
* Fixed `claude plugin install` failing for GitHub-source plugins on macOS and Linux machines with no GitHub SSH key: the clone now falls back to HTTPS and prints a noticechangelog see the edit
A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.
A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.
A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.
A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.
A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.
A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.
A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.
A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.
It is not clear what controls whether `--replace` is available in a given session.
Anthropic's documentation has since written up claude plugin install, on Claude Code changelog.
Added You should know, a built-in mod where a side agent watches your back and flags things you or Claude might miss. Turn it on with…
New in this build: tengu_encapsulated_pebble