[BUG] "version" (which is not a real command?) reports wrong Claude Code version number
Resolved 💬 2 comments Opened Mar 12, 2026 by mmorearty Closed Apr 10, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Quirky: If I start Claude Code, the header says Claude Code v2.1.74. But if I type "version" at the prompt and press Enter, it reports a different version number, v1.0.33:
❯ version
⏺ Claude Code v1.0.33
Environment:
- Model: Claude Opus 4.6 (claude-opus-4-6)
- Platform: macOS (Darwin 25.2.0)
- Shell: zsh
- Working directory: /Users/mike/src/claude-code
Git status: Clean, on branch main
As far as I know, version (no slash) isn't even a real command; but in any case, this output seems misleading re: the Claude Code version number.
What Should Happen?
Should report the correct current version number of Claude Code, the same one that is in the header.
Error Messages/Logs
Steps to Reproduce
- Start
claudeat command line - Just type
versionand press return
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.74
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
iTerm2
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗