Skip to content

[BUG] Auto-update failed error persists after manual update #5226

Description

@WeeboWIZ

Description

The CLI continuously displays "✗ Auto-update failed · Try claude doctor or npm i -g
@anthropic-ai/claude-code" at the bottom of the terminal, even after successfully updating to the latest
version.

Steps to Reproduce

  1. Install/update Claude Code: npm i -g @anthropic-ai/claude-code@latest
  2. Clear npm cache: npm cache clean --force
  3. Reinstall: npm i -g @anthropic-ai/claude-code@latest
  4. Run claude doctor
  5. The auto-update error message still appears at the bottom of the CLI

Expected Behavior

After successfully updating to the latest version, the auto-update error message should disappear.

Actual Behavior

The error message "✗ Auto-update failed" persists in the CLI interface despite successful manual update.

Environment

  • Claude Code Version: 1.0.69
  • Installation Method: npm-global
  • Node Path: C:\Program Files\nodejs\node.exe
  • CLI Path: C:\Users\madma\AppData\Roaming\npm\node_modules@anthropic-ai\claude-code\cli.js
  • Auto-updates enabled: true
  • Update permissions: Yes
  • OS: Windows (PowerShell)

Additional Context

  • claude doctor shows all diagnostics as normal
  • Manual update completes successfully with "changed 2 packages"
  • The error appears to be a UI/display issue rather than an actual update failure

Logs

npm i -g @anthropic-ai/claude-code@latest
changed 2 packages in 11s

claude --version
1.0.69 (Claude Code)

claude doctor
Diagnostics
└ Currently running: npm-global (1.0.69)
└ Path: C:\Program Files\nodejs\node.exe
└ Auto-updates enabled: true
└ Update permissions: Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:packagingbugSomething isn't workinghas reproHas detailed reproduction stepsplatform:windowsIssue specifically occurs on Windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions