[Bug] Environment variable persistence lost on application restart on Windows

Resolved 💬 3 comments Opened Jan 16, 2026 by code0100fun Closed Jan 19, 2026

Bug Description
Claude Code does not seem to load the env vars for the second startup. I have CLAUDE_CODE_HIDE_ACCOUNT_INFO set and the first time I open the app the setting seems to take. If I /exit and relauch it does not. I'm setting the var in the ~/.claude/settings.json. I'm on windows 11.

Environment Info

  • Platform: win32
  • Terminal: alacritty
  • Version: 2.1.7
  • Feedback ID: f7c4b01c-e371-4e97-82a0-15a9d8a9713a

Errors

[]

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗