--json
A Claude Code CLI flag, read out of the shipped bundle. It has been in the build since v2.1.138, including the newest one read.
Plugin eval JSON output is validated before printing, and suppressed with a stderr warning if invalid.
Not Anthropic's. This is the line from the earliest changelog entry here that named it, v2.1.224.
In the changelogs
21Releases whose published page names --json.
-
v2.1.307
New
claude sandbox uninstallcommand removes the Windows sandboxOn native Windows,
claude sandbox uninstallremoves the sandbox account, group, stored password and network filters, then lists what remainsfound in this entry's text
-
v2.1.287
Adding and updating plugin marketplaces can now print JSON
The plugin marketplace add and update commands now have a
--jsonoption that prints one machine-readable result linefound in this entry's text, named in this entry
-
v2.1.287
Marketplace add, remove and update can print JSON results
claude plugin marketplace add,removeandupdatenow accept--jsonand print a structured resultfound in this entry's text, named in this entry
-
v2.1.285
claude plugin list --jsoncan report plugin data folder sizesWith
--json,claude plugin listaccepts--data-sizeto report how big a plugin's data folder is, and lists more details per pluginfound in this entry's text, named in this entry
-
v2.1.285
Set a plugin's options from a script with
claude plugin configureNew
claude plugin configure <plugin>shows a plugin's options, or saves values piped in as JSON with--values-stdinfound in this entry's text, named in this entry
-
v2.1.283
Help for
claude daemonlists commands to manage Remote Control serversclaude daemonhelp can now listremote-control list,addandremove, and worker status reports the folder being servedfound in this entry's text
-
v2.1.281
plugin marketplace list escapes source strings and hides built-in directory entries from --json
plugin marketplace listnow tidies unusual source values, and its--jsonoutput leaves out built-in directory entries and sorts by namefound in this entry's text, named in this entry
-
v2.1.277
New hidden CLI command: claude design-login --json
New hidden command claude design-login --json backs the /design-login sign-in flow for the VS Code extension
found in this entry's text
-
v2.1.271
New
--accept-command <sha256>CLI flag for plugin command acceptanceNew --accept-command <sha256> flag lets you pre-approve a specific plugin install command
found in this entry's text
-
v2.1.268
Plugin CLI commands (disable, disable-all, update) gain --json output
Plugin disable, disable-all, and update commands gain --json output alongside other plugin commands
found in this entry's text, named in this entry
-
v2.1.259
claude plugin validategains--jsonoutputclaude plugin validate gains a --json flag for machine-readable validation results.
found in this entry's text, named in this entry
-
v2.1.246
claude plugin listnow shows bundled plugins tooclaude plugin list now shows bundled first-party plugins alongside the ones you installed.
named in this entry, found in this entry's text
-
v2.1.234
Plugin eval reference documents image grading and new exit codes
Plugin eval docs now say image focus files are shown to the judge, and document new exit codes.
found in this entry's text
-
v2.1.224
Plugin eval can validate and report its own JSON output
Plugin eval JSON output is validated before printing, and suppressed with a stderr warning if invalid.
named in this entry, found in this entry's text
-
v2.1.207
Walnut Spire (
plugin evalGeneral Availability) [In Development]found in this entry's text
-
v2.1.207
Sibling Org Repo Docs in Auto-Mode Setup
found in this entry's text
-
v2.1.198
Plugin Eval Command [Early Access]
found in this entry's text
-
v2.1.169
/agents --jsonGains--allFlagfound in this entry's text
-
v2.1.40
claude authCommand Groupfound in this entry's text
-
v2.1.23
GitHub PR State Field
found in this entry's text
-
v2.0.42
Enhanced GitHub Authentication Detection
found in this entry's text
First cited
5The earliest release whose published evidence quoted --json was v2.1.169, 8 Jun 2026. That is the oldest release this project wrote about it, so it is a floor on the name's age and not the release that introduced it. It is not a presence reading: which builds carried the name is the table below.
Presence across releases
1Build by build
149One row per release since the first build this name was read out of. Absent means the build was read and the name was not in it, never mined means no bundle for that release was ever archived, and a declared type or a default is only ever what that release's own bundle stated.
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the CLI flag does. All CLI flags.