Follow Discord
Sweep 25 Sep 2026 · 19:33Z Build v2.1.283 504 read Stable v2.1.274 Latest v2.1.283 Next v2.1.283 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.281 ·

Warning when settings env vars are overridden by the launch environment

Claude Code now logs a warning naming settings env vars it ignored because the launch environment already set them differently

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

Settings files can list environment variables for Claude Code to use. Environment variables are named values a program reads when it runs. If the environment Claude Code was launched from already sets the same variable, the launch value wins and the settings value is dropped. That has not changed.

What is new is that Claude Code now writes a warning to its log naming the variables that were dropped. The warning appears only when:

  • The settings value differs from the value already set at launch
  • That pairing of settings source and variable has not already been reported
Why

Before, a value in settings could be silently ignored, which made it hard to understand why a setting seemed to have no effect. The log now tells you, and it says so once per variable instead of repeating.

See this entry in the whole of v2.1.281 →

Feedback