Skip to content

Releases · Claude

Claude Code 2.1.309 release notes

Version
2.1.309
Released
Status
Latest stable release

What's new in Claude Code 2.1.309

The official notes for Claude Code 2.1.309 list 79 changes: 39 fixes and 40 other changes.

  • 39 fixes
  • 40 other changes

Highlights

  • fix Fixed sandboxed Bash commands on macOS and Linux running the shell's startup files outside the sandbox before each command
  • fix Fixed macOS sandbox denyWrite glob patterns not applying at a path's real location when the pattern's folder is reached through…
  • fix Fixed sandboxed commands and auto-accepted edits being able to modify the MCP config file passed with --mcp-config
  • fix Fixed a disabled MCP server being reconnected by a later permission prompt in print and SDK sessions
  • fix Fixed the Bash permission check trusting a variable set by a command whose redirect can fail to open

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.309)

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.309 (macOS, Linux, WSL):
    curl -fsSL https://claude.ai/install.sh | bash -s 2.1.309
  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.