Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.287 ·

--json output for plugin marketplace add, remove and update

claude plugin marketplace add, remove and update gain a --json option that prints one machine-readable result line

Group of 2 Use it now Improvements
JSON All of v2.1.287
Use it nowTier: how much it should matter to you
4Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
PluginsArea: what it touches
ImprovementsKind: in v2.1.287,
What probably matters to youSection of the release

What

The plugin marketplace commands can now print their result in JSON, a structured format that other programs can read. With --json, a command prints one machine-readable result line as the last line of its output. Exit codes, the numbers a command returns to say whether it succeeded, stay the same as before.

  • claude plugin marketplace add gains --json. Its result is labelled command: "marketplace-add".
  • claude plugin marketplace remove gains --json. Its result is labelled marketplace-remove.
  • claude plugin marketplace update gains --json, but only together with a marketplace name. Without one it says "--json needs a marketplace name, for example: claude plugin marketplace update --json".

Each result includes an outcome and a failureCode. Before this release these commands printed plain text only. Other commands may also have gained --json, but that was not confirmed.

Why

Scripts and automation can now add, remove and update plugin marketplaces and read the outcome reliably, instead of parsing text meant for people.

Read from
Names in the bundle--json
Since it was published

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.

Added since A small documentation edit on Troubleshoot plugins touched a line naming --json after this was published. To see these programmatically, run `claude plugin list --json` in your shell. Plugins with problems carry an `errors` field with the messages and an `errorDetails` field with a `type` for each: the first three rows are `dependency-unsatisf… plugins/troubleshooting see the edit
Confirmed since Anthropic's documentation has since written up --json, on Claude Code changelog. * Fixed `claude plugin validate` failing an Anthropic marketplace's own plugin and listing a clean `plugin.json` in `--json` changelog see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up --json, on Claude Code changelog.

See this entry in the whole of v2.1.287 →

Feedback