Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.302 ·

The suggested resume command can include an environment variable

The command Claude Code suggests for resuming a session can now start with an environment variable setting, such as X=1 claude --resume <id>

You'll notice Improvements
JSON All of v2.1.302
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SessionsArea: what it touches
ImprovementsKind: in v2.1.302,
ImprovementsSection of the release
What

When Claude Code shows you a command to pick up a session again, that command can now begin with an environment variable setting. An environment variable is a named value handed to a program when it starts. For example, the hint can read X=1 claude --resume <id> instead of claude --resume <id>. This applies to the forms that use --resume, --worktree and -w. Before, the command always started with plain claude.

Why

If your session depends on an environment variable, copying the suggested command can bring that setting back too.

Read from
Names in the bundle--resume--worktree
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up --resume, on Claude Code changelog. * Fixed `claude --help` text for `--tools`, `--resume`, `--debug`, `--json-schema`, `--disable-slash-commands`, `--system-prompt-snapshot` and `claude update` to match actual behavior changelog see the edit
Confirmed since Anthropic's documentation has since written up --worktree, on Desktop application. | Session isolation | [`--worktree`](/docs/en/cli-reference) flag | [Run a session in its own worktree](#run-a-session-in-its-own-worktree) | desktop see the edit
Added since A small documentation edit on Manage sessions touched a line naming --resume after this was published. * Default display name: interactive sessions you never name still get a default display name when they start. The default combines the working directory's name with a two-character suffix, for example `my-app-3f`, and identifies the sessio… sessions see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesA small documentation edit on Manage sessions touched a line naming --resume after this was published.

See this entry in the whole of v2.1.302 →

Feedback