Follow Discord
Sweep 23 Nov 2026 · 19:13Z Build v2.1.331 548 read Stable v2.1.323 Latest v2.1.330 Next v2.1.331 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.331 ·

Some programs Claude Code starts no longer inherit its environment

In one case, a program Claude Code launches no longer receives Claude Code's own environment variables

Under the hood Improvements
JSON All of v2.1.331
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
EnvironmentArea: what it touches
ImprovementsKind: in v2.1.331,
ImprovementsSection of the release

Unclear It is not clear which case switches off the inherited environment.

What

When Claude Code starts another program, that program normally receives a copy of Claude Code's environment variables, the named settings a program is given when it starts. In one case, Claude Code now switches this off, so the program does not get those variables. In every other case, it behaves as before.

Why

If a command Claude Code runs depends on a variable from your shell, it may not see that variable in this case.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear which case switches off the inherited environment.

See this entry in the whole of v2.1.331 →

Feedback