Before running commands, Claude Code sets up a shell, the program that runs commands. On Windows with bash, it can now save your login PATH, the list of folders searched for programs, in a login-path-<hash>.sh file and reuse it next time. This replaces an earlier diagnostic check, and a delayed Windows diagnostic report was removed.
Reuse is skipped when:
- you have your own shell startup files
BASH_ENVis setCLAUDE_CODE_DISABLE_SHELL_HEAD_STARTis set- a script was added, the saved copy is too old, or the folder is unknown
The environment variables Claude Code keeps for the shell now also include SYSTEMROOT, WINDIR, POSIXLY_CORRECT and variables starting with CYGWIN. The new behaviour sits behind a switch controlled from Anthropic's servers.
Reusing the saved PATH should make the shell start faster. If it causes trouble, CLAUDE_CODE_DISABLE_SHELL_HEAD_START turns it off.
tengu_compressed_whisper Not enough to sayNothing here resolved what this flag was doing on this version, so nothing here should be read as on or off.
This account: no value returned · anonymous baseline: no value returned · compiled default in v2.1.331: on
These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.
tengu_mossy_lantern On for this account, and not off by defaultThe flag server returned on for the one account this site reads, and nothing in this release compiles it off by default. The compiled default is shown below, and says which it is when we cannot read one: a fifth of gates compile in a string or a number rather than on or off, and most published releases have no gate table behind them at all. No client can see what the server returns for your account.
This account: on · anonymous baseline: on · compiled default in v2.1.331: not a boolean we can read
These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.
Read once, for one account on one subscription tier, against v2.1.331. It isn't a statement about your account. What a flag value here can and cannot tell you