Skip to content

[BUG] Auto-Update is not working #18114

Description

@asimahmeddemir

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Description
The auto-update feature is failing to trigger automatically upon startup, even though the config.json is correctly set to receive the latest updates.

I was using version 2.1.5. The latest available version is 2.1.7.

When I attempt to run the manual update command (claude update), the system incorrectly reports that I am already on the latest version (2.1.7), despite the running instance (before manual update command) clearly being version 2.1.5. You can check the screenshot.
When I run claude again, it started showing the current version as 2.1.7. So either there's an error in the logs, or the update was performed manually but the auto-update didn't work.

Configuration
Snippet from config.json:

{
  "autoUpdatesChannel": "latest"
}

What Should Happen?

The application should detect that version 2.1.5 is outdated compared to the remote 2.1.7, download the update, and apply it automatically (or prompt for restart) based on the latest channel configuration.

Error Messages/Logs

Check the screenshot below.

Steps to Reproduce

  1. Ensure config.json is set to { "autoUpdatesChannel": "latest" }.
  2. Launch the application (Current version: 2.1.5).
  3. Observe that no auto-update is triggered.
  4. Run the manual update command.
  5. Observe the message stating the application is already up to date (Version 2.1.7), creating a version mismatch.
  6. Run the claude command and see that it is working with 2.1.7 version now.

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.5

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstaleIssue is inactive

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions