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.
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 sinceAnthropic'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 behaviorchangelogsee the edit
Confirmed sinceAnthropic'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) |desktopsee the edit
Added sinceA 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…sessionssee 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.