claude-code
claude-code copied to clipboard
[BUG] `/doctor` command incorrectly displays "Auto-updates: No"
Environment
- Platform (select one):
- [ ] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [X] Other: N/A (CLI tool)
- Claude CLI version: 1.0.35
- Operating System: Ubuntu 24.04.2 LTS (on WSL2, Windows 11)
- Terminal:
Bug Description
The /doctor command reports "Auto-updates: No" even when the auto-update feature is functioning correctly. This inaccurate status is misleading to users.
Steps to Reproduce
- Launch the Claude CLI.
- Type
/doctorin the prompt and run it. - Observe the diagnostic results.
Expected Behavior
Given that auto-updates are enabled and have been successfully updating the tool, the "Auto-updates" field in the diagnostic output should show "Yes".
Actual Behavior
The tool displays "Auto-updates: No" and recommends running /migrate-installer to enable auto-updates.
Claude CLI Diagnostic
Currently running: npm-global (1.0.35)
Path: /home/ubuntu/.nvm/versions/node/v22.16.0/bin/node
Invoked: /home/ubuntu/.nvm/versions/node/v22.16.0/bin/claude
Auto-updates: No
Config install method: unknown
Config auto-updates: true
Update permissions: Yes
Recommendation: Run '/migrate-installer' to enable auto-updates
This migrates to a local installation in ~/.claude/local
Press Enter to continue…
Additional Context
The CLI has been automatically updated from version 1.0.33 to 1.0.35. This confirms that the auto-update functionality is working as expected. However, the /doctor command's output does not reflect this reality, which is why this is being reported as a bug.