Claude Code Latest Version, Update Commands, and Changelog

Check the latest Claude Code version, latest vs stable channels, update commands for every installer, changelog links, version mismatch fixes, and upgrade checklists.

This page helps with the practical version questions people actually search for: what is the current Claude Code version, how do I update it, and what should I check if behavior changes after an update.

30-Second Answer

To check the current state:

claude --version
npm view @anthropic-ai/claude-code dist-tags --json

Then update with the command that matches your install method:

Install methodUpdate commandNotes
Native installerclaude updateNative installs also update in the background.
npm global packagenpm install -g @anthropic-ai/claude-code@latestDo not rely on npm update -g for latest.
Homebrew stablebrew upgrade claude-codeTracks the more conservative stable channel.
Homebrew latestbrew upgrade claude-code@latestReceives new versions sooner.
WinGetwinget upgrade Anthropic.ClaudeCodeClose running Claude Code sessions if Windows locks the executable.
aptsudo apt update && sudo apt upgrade claude-codeUses the system package manager.
dnfsudo dnf upgrade claude-codeUses the system package manager.
apkapk update && apk upgrade claude-codeUsed for Alpine.

Do not trust a random screenshot as the source of truth. Claude Code has latest and stable channels, several installers, and background auto-updates, so different machines can show different versions on the same day.

How to Check the Current Latest Version

Check Your Installed Version

claude --version

If the command is missing, return to the installation guide and check PATH plus the install method used in your real development terminal.

Check npm Dist Tags

npm view @anthropic-ai/claude-code dist-tags --json

You may see output like:

{
  "latest": "2.1.156",
  "next": "2.1.156",
  "stable": "2.1.145"
}

Use the tags this way:

TagMeaningBest for
latestFastest public release channel.Personal development and early feature access.
nextA moving release tag; currently the same as latest when both point to the same version.People watching rolling releases.
stableMore conservative channel, typically behind latest.Teams, production repositories, and client delivery work.

Read the Official Changelog

Use official sources for release notes:

At the time this page was checked, 2.1.156 was the newest changelog entry and fixed an Opus 4.8 issue where thinking blocks could be modified and cause API errors. The important user-facing release is 2.1.154, which added Opus 4.8 support, dynamic workflows, cheaper Opus 4.8 fast mode, high effort defaults, and several agent, plugin, MCP, safety, and background-session fixes.

What Changed With Opus 4.8 And Claude Code 2.1.154

The May 28-29, 2026 update is worth separating into two layers:

LayerWhat changedWhy it matters
Claude modelClaude Opus 4.8 is available as claude-opus-4-8.It targets stronger long-horizon agentic coding, better tool triggering, better compaction behavior, and fewer unsupported claims.
Claude Code CLI2.1.154 added Opus 4.8 support and 2.1.156 fixed a same-week Opus 4.8 thinking-block error.Update to at least 2.1.156 if you hit Opus 4.8 API errors after the rollout.
EffortOpus 4.8 defaults to high effort. Claude Code points difficult work toward /effort xhigh.Better quality can cost more tokens, so do not treat a model upgrade as free.
Dynamic workflowsClaude Code can orchestrate many subagents in the background through workflow scripts.Useful for large audits, migrations, and cross-checked research, but it can consume far more usage than a normal session.
UltracodeClaude Code exposes an ultracode effort setting that combines xhigh with workflow choice.Use it for serious scoped sessions, not as a permanent default.
Fast modeOpus 4.8 fast mode is available at 2x standard pricing for up to 2.5x output speed.Good for latency-sensitive work; poor default for long unattended runs.

For the new workflow feature, read Claude Code Dynamic Workflows and Claude Code Ultracode before turning either into a team default. If Opus 4.8 feels slow or expensive after the update, use Opus 4.8 slow or expensive troubleshooting.

latest vs stable: Which One Should You Use?

Many searches for “Claude Code latest version” are really asking: should I chase latest or stay on stable?

ScenarioRecommended channelWhy
Personal learninglatestYou can try new capabilities early.
Everyday solo developmentlatest or stableUse latest if small changes are acceptable; stable if the repo is sensitive.
Shared team workflowStart with stableReduces version-related collaboration drift.
Client or production repositorystable or a pinned versionAvoid surprise behavior changes during delivery.
Known bug fixCheck changelog firstUpgrade when a newer version actually fixes your issue.

If you are working on a SaaS template, payments, database migrations, Cloudflare deployment, or SEO URL migration, treat an upgrade like a small engineering change: verify it locally before making it part of the main workflow.

How to Update Claude Code

Native Installer

Native installs normally update in the background. To update immediately:

claude update
claude --version

For a more conservative release channel, set:

{
  "autoUpdatesChannel": "stable"
}

You can also pin a version floor:

{
  "autoUpdatesChannel": "stable",
  "minimumVersion": "2.1.100"
}

npm Install

If you installed Claude Code globally with npm:

npm install -g @anthropic-ai/claude-code@latest
claude --version

The official setup docs warn against relying on npm update -g for the newest release because it may respect the semver range from the original install.

Avoid:

sudo npm install -g @anthropic-ai/claude-code

Using sudo for global npm installs can create permission and security problems. Fix the npm global directory or use the native installer instead.

Homebrew

Stable cask:

brew upgrade claude-code
claude --version

Latest cask:

brew upgrade claude-code@latest
claude --version

Homebrew keeps older versions on disk after upgrades. Reclaim space with:

brew cleanup

WinGet

winget upgrade Anthropic.ClaudeCode
claude --version

If the upgrade fails, close all running Claude Code sessions and try again. Windows can block replacement while the executable is still running.

apt / dnf / apk

Debian or Ubuntu:

sudo apt update && sudo apt upgrade claude-code

Fedora or RHEL:

sudo dnf upgrade claude-code

Alpine:

apk update && apk upgrade claude-code

These package-manager installs generally update through the system package manager, not through Claude Code background updates.

Pre-Upgrade Checklist

Before upgrading, check:

CheckWhy it matters
Which install method is active?native, npm, Homebrew, WinGet, apt, dnf, and apk use different update paths.
What version is installed now?Run claude --version before changing anything.
Do you need a new feature or a bug fix?If not, stable may be the better choice.
Is a release or migration in progress?Avoid adding version drift during sensitive work.
Does the team need one version?Different versions can change permission modes, UI labels, and command behavior.
Is this a production repository?Test in a small repo or branch first.

For database, auth, payment, Cloudflare, MCP permissions, or SEO URL work, start with Plan Mode and make the upgrade a reviewed step.

Post-Upgrade Verification

After updating:

claude --version
claude doctor

Then check a small project:

  1. Claude Code starts normally.
  2. Authentication still works.
  3. Project files can be read.
  4. Your common slash commands are available.
  5. Permission mode behavior matches expectations.
  6. MCP servers connect if you use them.
  7. IDE or terminal integration still works.
  8. Hooks, skills, and plugins do not throw startup errors.

For teams, record:

RecordExample
Previous version2.1.145
New version2.1.156
Install methodHomebrew stable / npm / native
ReasonRequired bug fix or feature
Verification resultclaude doctor OK, MCP OK
Rollback pathReinstall previous version or switch back to stable

Version Mismatch Troubleshooting

claude --version Still Shows an Old Version

Check which binary your shell resolves:

which claude
npm list -g @anthropic-ai/claude-code --depth=0

On macOS or Linux, multiple claude binaries can exist and PATH order decides which one runs. On Windows, check PowerShell, CMD, Git Bash, WSL, and the IDE terminal separately.

npm Shows Latest, But Your Local CLI Does Not

Common causes:

  • You did not install with npm.
  • You installed the Homebrew stable cask.
  • A native update has downloaded but not taken effect yet.
  • PATH points to an old binary.
  • npm global permissions prevented replacement.

Confirm the install method first, then use the matching update command.

Windows and WSL Show Different Versions

PowerShell, CMD, Git Bash, and WSL are separate environments. Updating in PowerShell does not update WSL. Check and update Claude Code inside the terminal where the project actually runs.

A Feature Disappeared or Behavior Changed

Check:

  • whether you switched latest/stable channels;
  • whether permission mode changed;
  • whether auto mode is enabled or disabled;
  • whether a new setting or managed setting applies;
  • whether you are using CLI, Desktop, Web, VS Code, or another IDE entry;
  • whether you need to restart the terminal or IDE.

If the update disrupts production work, move back to the last known-good version or stable, then investigate.

How to Pin a Version

Use one of these strategies:

StrategyHowBest for
Stable channelautoUpdatesChannel: "stable" or Homebrew stable caskTeam defaults.
Minimum versionminimumVersionPrevent very old machines.
Specific versionNative installer with a version numberClient delivery, reproduction, rollback.

Specific version example:

curl -fsSL https://claude.ai/install.sh | bash -s 2.1.89

Official releases also provide manifest and signature verification for controlled environments.

FAQ

What is the latest Claude Code version?

As checked on May 29, 2026, npm reports latest and next as 2.1.156, and stable as 2.1.145. Always verify before upgrading:

npm view @anthropic-ai/claude-code dist-tags --json

Why do npm and the official changelog sometimes look different?

Package publishing, documentation generation, and package-manager sync can have small delays. Use the source tied to your install method, then read the official changelog to decide whether the change matters.

Should I always upgrade to latest?

No. Use latest for personal experimentation. Use stable or a pinned version for shared teams, client work, and production repositories.

Does Claude Code auto-update?

Native installs auto-update in the background. Homebrew, WinGet, apt, dnf, apk, and npm installs usually require manual updates.

Should I use claude update or npm install -g?

Use the command that matches your original install method. Native installer users should use claude update; npm users should use npm install -g @anthropic-ai/claude-code@latest. Mixing installers is the fastest way to create version confusion.

Official Sources

Claude Code Latest Version, Update Commands, and Changelog