[BUG] Startup banner shows incorrect version (v2.0.25) when actual version is v2.0.44
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?
The Claude Code startup banner displays an outdated version (v2.0.25) when the claude --version command confirms the installed version is v2.0.44.
When starting a Claude Code session, the banner shows:
Claude Code v2.0.25
Quantum Dev Assistant
However, when running claude --version in the terminal, it confirms:
2.0.44 (Claude Code)
This bug causes confusion because:
- Users cannot trust the version displayed in the banner
- It makes bug reporting difficult (unclear which version to mention)
- It may indicate a caching issue or incorrect hardcoding in the source code
What Should Happen?
The startup banner should display the same version reported by claude --version, in this case v2.0.44.
Expected banner:
Claude Code v2.0.44
Error Messages/Logs
No error messages, but here's the evidence:
<img width="319" height="60" alt="Image" src="https://github.com/user-attachments/assets/c7fa9006-4643-401a-97ab-ac222e4a3e17" />
Steps to Reproduce
- Install/update Claude Code to the latest version:
```bash
npm install -g @anthropic-ai/claude-code@latest
- Verify installed version:
claude --version
# Output: 2.0.44 (Claude Code)
- Start Claude Code session:
claude
- Observe the startup banner that appears in the first line
Actual result: Banner shows Claude Code v2.0.25
Expected result: Banner should show Claude Code v2.0.44
Note: The issue persists even after:
- Clearing npm cache: npm cache clean --force
- Complete reinstall: npm uninstall -g @anthropic-ai/claude-code && npm install -g @anthropic-ai/claude-code@latest
- Restarting Claude Code sessions
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
N/A
Claude Code Version
2.0.44 (Claude Code)
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
VS Code integrated terminal
Additional Information
### Additional Context
- Installation: Via npm global (
npm install -g @anthropic-ai/claude-code) - Location:
/home/ikchain/.npm-global/bin/claude - Node version: v18.20.5 (or your version)
- npm version: 10.8.2 (or your version)
### Hypothesis
The banner might be:
- Hardcoded in some source file of v2.0.44 with an old value (v2.0.25)
- Reading from a config file that wasn't updated during the upgrade
- Using cache from a previous session that doesn't clear properly
### Impact
- Severity: Low (doesn't affect functionality, only displayed information)
- Confusion: Medium (users don't know which version to report in bugs)
- Workaround: Use
claude --versionto get the actual version
### Potentially Relevant Files
If the source code is in TypeScript/JavaScript, the banner is likely generated in files such as:
src/cli/banner.tssrc/index.tspackage.json(fieldversion)
It might be useful to verify that package.json has "version": "2.0.44" and that the code generating the banner reads from
there instead of a hardcoded value.
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗