Skip to content

Releases · Claude

Claude Code 2.1.318 release notes

Version
2.1.318
Released
Status
Latest stable release

What's new in Claude Code 2.1.318

The official notes for Claude Code 2.1.318 list 84 changes: 4 new features, 41 fixes, 2 security changes and 37 other changes.

  • 4 new features
  • 41 fixes
  • 2 security changes
  • 37 other changes

Highlights

  • security change Added the date a stored claude.ai sign-in ends to claude auth status (loginExpiresAt) and to claude -p JSON results (credential_expires_at)
  • security change Gateway: Added a log warning when the Google access token from a federation (external_account) credentials file is about to expire
  • new feature Added a record of your answer when Claude Code asks to turn on the mods it writes in a session
  • new feature Added assume_role on mantle upstreams of the Claude apps gateway, for a role in another AWS account and for per-developer…
  • new feature Added an effort option to a mod's $.model.fork, so a quick side job can run at low whatever effort the…

Our short summary: changes are counted and classified automatically from the official notes, and highlights are shortened. The complete, authoritative list is in the official release notes on GitHub.

Full release notes on GitHub (Claude Code 2.1.318)

How to check your version and update Claude Code

  1. Check the installed version:
    claude --version
  2. Native installs update themselves in the background. To update right now:
    claude update
  3. Install exactly 2.1.318 (macOS, Linux, WSL):
    curl -fsSL https://claude.ai/install.sh | bash -s 2.1.318
  4. Homebrew does not auto-update. The claude-code cask follows the stable channel, claude-code@latest the latest one:
    brew upgrade claude-code
  5. WinGet:
    winget upgrade Anthropic.ClaudeCode
  6. npm (use install @latest, not npm update -g):
    npm install -g @anthropic-ai/claude-code@latest

Claude Code has two release channels: latest (the default) gets every version as it ships; stable runs about a week behind and skips releases with major regressions. Change it under /config → Auto-update channel or with the autoUpdatesChannel setting.

Installing for the first time, or on Windows? How to install and update Claude Code.

Commands from the official docs: Claude Code: Advanced setup.