claude-code
claude-code copied to clipboard
[BUG] CLAUDE_CODE_HIDE_ACCOUNT_INFO not working on Windows
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