Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 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 New Features
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
New FeaturesKind: in v2.1.287,
What probably matters to youSection of the release

Unclear Other commands may also have gained --json.

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
What the documentation says
--json Plugin commands reference modified, high confidence | `--data-size [plugin]` | Measure each installed plugin's [saved data directory](#what-an-uninstall-deletes-and-keeps), or only the named plugin's, given as `name@marketplace`. Has no effect without `--json`. If the name has no install re… see the edit
--json Manage sessions modified, high confidence * Flags that read the output, such as `--output-format json` or `--json-schema` see the edit
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
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtOther commands may also have gained `--json`.
Anthropic's documentation agrees--json on Plugin commands reference

See this entry in the whole of v2.1.287 →

Feedback