--version
A Claude Code CLI flag, read out of the shipped bundle. No mined inventory carries it: everything below comes from what this site has written about it.
What it is
Output the version number
Anthropic's own wording. Read off CLI reference, captured 2026-08-28.
Presence across releases
The miner has never read a build containing this name. It is here because a changelog entry of ours names it, which is evidence that it existed and not evidence of which releases carried it. The inventory starts at v2.1.138 and everything older than that was never mined.
Changelog entries naming it
-
v2.1.243Version constant bumped to 2.1.243
The version number now reads 2.1.243 everywhere it shows up.
named in this entry
-
v2.1.240Version stamped as 2.1.240
The build now reports itself as version 2.1.240 in version checks and headers.
named in this entry
-
v2.1.237Version stamp moved from 2.1.236 to 2.1.237
Version output and telemetry now say 2.1.237 instead of 2.1.236; nothing else changes.
named in this entry
-
v2.1.231Build stamp bumped to 2.1.231
The version number you see is now 2.1.231; nothing else about it changed.
named in this entry
-
v2.1.228Version 2.1.228
Version is now 2.1.228, which is what version output and update banners report.
named in this entry
-
v2.1.227Version and build stamp bumped to 2.1.227
The version stamp moves to 2.1.227.
named in this entry
-
v2.1.226Version bump to 2.1.226
The version number ticks up to 2.1.226; nothing else changes.
named in this entry
-
v2.1.225Version bumped to 2.1.225
The version reported by /status and --version is now 2.1.225.
named in this entry
-
v2.1.222Version bumped to 2.1.222
The version number moves to 2.1.222, which is what you'll see in /status and --version.
named in this entry
-
v2.1.219Version bumped to 2.1.219
The version you see in --version and bug reports is now 2.1.219.
named in this entry
Documentation pages
- CLI reference reference table Claude Code CLI
- deploy-helm mentions it Claude Developer Platform
- quickstart mentions it Claude Developer Platform
- scripting mentions it Claude Developer Platform
- quickstart mentions it Claude Developer Platform
- Troubleshooting mentions it Claude Code CLI
- Claude Code changelog mentions it Claude Code CLI
- Push events into a running session with channels mentions it Claude Code CLI
- Use Claude Code with Chrome mentions it Claude Code CLI
- Scan your codebase for vulnerabilities mentions it Claude Code CLI
- Configure cloud environments mentions it Claude Code CLI
- Manage costs effectively mentions it Claude Code CLI
- Message your other Claude Code sessions mentions it Claude Code CLI
A reference table page is one whose own table defines this name, and it is where the description above came from. A page that mentions it carries the name somewhere in its text and may say nothing about it at all. Every page carrying it.
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.