[BUG] CLAUDE_CODE_HIDE_ACCOUNT_INFO not working on Windows
Status Open
Reported on v2.1.5
Maintainer reply None cached
Workaround ✓ Mentioned in thread ↓
Activity 12 comments · opened Jan 12, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
The CLAUDE_CODE_HIDE_ACCOUNT_INFO environment variable does not hide account information when set to 1. Account info (email and organization name) still displays in the UI on startup regardless of how the variable is configured.
What Should Happen?
When CLAUDE_CODE_HIDE_ACCOUNT_INFO=1 is set, the user's email address and organization name should be hidden from the Claude Code UI, as described in the documentation.
Error Messages/Logs
Steps to Reproduce
- Set the environment variable permanently in Windows via System Properties > Environment Variables:
- Variable name: CLAUDE_CODE_HIDE_ACCOUNT_INFO
- Variable value: 1
- Open a new terminal and verify the variable is set ($env:CLAUDE_CODE_HIDE_ACCOUNT_INFO returns 1)
- Run claude
- Observe that account info is still visible in the UI
Also attempted:
- Setting via ~/.claude/settings.json in the env section
- Setting via PowerShell $env:CLAUDE_CODE_HIDE_ACCOUNT_INFO = "1" before launching
None of these methods hide the account information.
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.5
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
_No response_
12 Comments
Not working on macOS either. Claude Code Version v2.1.6
can confirm. IS_DEMO still working (version v2.1.6) while CLAUDE_CODE_HIDE_ACCOUNT_INFO doesn't work
Have the same on Windows 11 25H2 doesn't work in powershell. but it works fine in GH bash for some reason... Duplicated bug with details - I closed it
https://github.com/anthropics/claude-code/issues/18839#issue-3825513661
Confirmed under arch/linux in 2.1.14. IS_DEMO still works for me.
Same problem for me on windows in git bash.
IS_DEMOworks though.Still doesn't seem to be working in CC v2.1.20 on Windows
Same issue on macOS (v2.1.29). CLAUDE_CODE_HIDE_ACCOUNT_INFO set to "1" in ~/.claude/settings.json but organization info still displays on startup.
The same issue with version 2.1.63 on macOS Tahoe
Is this flag even real, or was it hallucinated? I get nothing when running:
IS_DEMO is nice for the compact startup UI & hiding our info, but it also disables the statusline script & the "do you trust this directory?" prompt, which are both useful.
It's not hallucinated but I think only IS_DEMO supported now:
<img width="1303" height="710" alt="Image" src="https://github.com/user-attachments/assets/30f23f0e-913c-4cb9-955b-ebfc68ea6c32" />
Still reproducible on v2.1.138 on Windows — env var reads correctly but account info still displays.
Still reproducible on v2.1.219 (macOS, Darwin 25.5.0).
CLAUDE_CODE_HIDE_ACCOUNT_INFO=1set in theenvblock of~/.claude/settings.json— verified the variable actually reaches the process environment (echo $CLAUDE_CODE_HIDE_ACCOUNT_INFOprints1inside the session), but the startup banner still shows the email/organization line.Confirming the workaround mentioned above:
IS_DEMO=1does hide the account/org info, but it's a blunt instrument — it also disables custom statusline scripts and suppresses the "Do you trust this directory?" prompt, so it's not a real substitute for a workingCLAUDE_CODE_HIDE_ACCOUNT_INFO. Would love to see the dedicated variable fixed (or a documented first-class privacy setting).