# How to update Claude Code

Run claude update to get the newest Claude Code version now, or let the native installer update it alone. You also get version checks and the stable channel.

Tool: Claude. By Julien Lieben. Updated 2026-12-01. Source: https://coldiq.com/university/claude/how-to-update-claude-code

## In short

- The native installer (the official install command) updates Claude Code in the background. The new version starts the next time you open it.
- claude update installs the newest version right away and tells you which version you now have.
- Homebrew, WinGet and Linux package managers (tools that install apps) do not update Claude Code by default. You run their upgrade command.
- claude --version shows the version you have, and claude doctor shows the result of the last update.
- The stable channel is a slower update track. It gives you a version about one week old that skips releases with major problems.

## How do you know which version of Claude Code you have?

Open your terminal (the app where you type commands) and type claude --version. It prints a number such as 2.1.211 (Claude Code).

For more detail, type claude doctor. It checks your install without starting a session. It shows whether auto-updates are on, the result of the last update attempt, and any warning with a suggested fix.


## How does Claude Code update itself?

If you installed with the native installer (the curl or irm command), you have nothing to do. Claude Code checks for updates when it starts and from time to time while it runs.

The update downloads in the background. It takes effect the next time you start Claude Code, so a session you are in is never cut off.

Updates matter for more than bug fixes. A newly launched model can need a recent version of Claude Code. If a colleague can pick a new model and you cannot, an update is usually the reason.


## How do you update Claude Code installed another way?

Package managers keep their own copy of Claude Code, so you upgrade through them. Use the line that matches how you installed it.

- Homebrew: brew upgrade claude-code, or brew upgrade claude-code@latest if you installed that version.
- WinGet: winget upgrade Anthropic.ClaudeCode
- npm: npm install -g @anthropic-ai/claude-code@latest. Avoid npm update -g, which may not move you to the newest release.
- apt: sudo apt update && sudo apt upgrade claude-code
- dnf: sudo dnf upgrade claude-code
- apk: apk update && apk upgrade claude-code

Tip: On Homebrew or WinGet, set CLAUDE_CODE_PACKAGE_MANAGER_AUTO_UPDATE to 1 and Claude Code runs the upgrade for you in the background.


## What are the latest and stable channels?

Claude Code has two release channels. Latest, the default, gives you new features as soon as they ship. Stable gives you a version that is usually about one week old. It skips releases with major regressions (new bugs).

To switch, type /config inside Claude Code and change Auto-update channel. On Homebrew, the channel is the cask name (the Homebrew package name): claude-code is stable, claude-code@latest is latest.

Stable is a good choice for a sales or marketing team that wants fewer surprises. Everyone gets the same tested version a week later.

Tip: Switching to stable can move you back to an older version. In /config, choose the option to stay on your current version until stable catches up.


## How do you pause or turn off updates?

Most people should keep auto-updates on. Turn them off only if your company sends Claude Code through its own tools.

Setting DISABLE_AUTOUPDATER to 1 in your settings file stops the background check, but claude update still works. DISABLE_UPDATES blocks every update path, manual ones included.

You do not need to edit the settings file by hand. Claude Code can do it and show you the change first.

> Open my Claude Code settings file and set the auto-update channel to stable without downgrading my current version. Show me the change before you save it.


## What to do when an update does not work

An update that seems stuck is usually one of a few known cases. Start with claude doctor, which records the last update attempt.

- You still see the old version: close Claude Code and open it again, since updates apply on the next start.
- Homebrew or WinGet says it is up to date, but Claude Code shows an update. The package manager can be a little behind. Wait and try again later.
- WinGet fails while Claude Code is open: Windows locks the running file. Close Claude Code, then run the upgrade.
- claude still runs an old version after an uninstall: you probably have two installs. Anthropic’s troubleshooting page shows how to find the second one.

> Run claude doctor and explain the result in plain words. Tell me if I have more than one Claude Code installed, and how to keep only one.


## Command

```
claude update
```

## Sources

- [Claude Code advanced setup: update Claude Code](https://code.claude.com/docs/en/setup)
- [Use Claude Code in VS Code](https://code.claude.com/docs/en/vs-code)

## Questions

**Do I need to update Claude Code by hand?** Not with the native installer: it updates in the background. With Homebrew, WinGet, npm or a Linux package manager, you run their upgrade command.

**How do I go back to an older version of Claude Code?** Run the installer with a version number, for example curl -fsSL https://claude.ai/install.sh | bash -s 2.1.89 on Mac or Linux. Then switch to the stable channel or turn off auto-updates so it stays there.

**What does claude update say when I am already up to date?** It prints "Claude Code is up to date" with your version number. Installs managed by Homebrew, WinGet or apk print "Claude is up to date!" instead.

**Does the VS Code extension update with Claude Code?** The extension (the VS Code add-on) uses the same version number as the Claude Code inside it. Check that number in the Extensions view of VS Code.


## Related

- [How to install Claude Code](https://coldiq.com/university/claude/how-to-install-claude-code)

## Try ColdIQ free

ColdIQ gives new accounts up to 1,450 free credits as they get started, no credit card required.
One subscription covers 40+ B2B data providers for finding, enriching and verifying
contacts and companies, through the web app, the API or the MCP server for AI agents.

1. Create an account: https://coldiq.com/marketplace/sign-up?utm_source=ai-assistant&utm_medium=markdown&utm_content=university
2. Run a first search on your own market with the free credits.
3. Connect the MCP server to Claude, ChatGPT or Cursor: https://coldiq.com/mcp
