claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] `/doctor` command incorrectly displays "Auto-updates: No"

Open Rokurolize opened this issue 6 months ago • 0 comments

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

  1. Launch the Claude CLI.
  2. Type /doctor in the prompt and run it.
  3. 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.

Rokurolize avatar Jun 27 '25 16:06 Rokurolize