[BUG] CLAUDE_CODE_HIDE_ACCOUNT_INFO not working on Windows

Status Open
Reported on v2.1.5
Maintainer reply None cached
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

  1. Set the environment variable permanently in Windows via System Properties > Environment Variables:
  • Variable name: CLAUDE_CODE_HIDE_ACCOUNT_INFO
  • Variable value: 1
  1. Open a new terminal and verify the variable is set ($env:CLAUDE_CODE_HIDE_ACCOUNT_INFO returns 1)
  2. Run claude
  3. 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_

View original on GitHub ↗

12 Comments

CaptainCodeAU · 7 months ago

Not working on macOS either. Claude Code Version v2.1.6

radres · 7 months ago

can confirm. IS_DEMO still working (version v2.1.6) while CLAUDE_CODE_HIDE_ACCOUNT_INFO doesn't work

MarvinFS · 7 months ago

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

davidszp · 7 months ago

Confirmed under arch/linux in 2.1.14. IS_DEMO still works for me.

MarcSkovMadsen · 7 months ago

Same problem for me on windows in git bash. IS_DEMO works though.

oscarcs · 7 months ago

Still doesn't seem to be working in CC v2.1.20 on Windows

Anderson-RC · 6 months ago

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.

pnowy · 6 months ago

The same issue with version 2.1.63 on macOS Tahoe

franky47 · 5 months ago

Is this flag even real, or was it hallucinated? I get nothing when running:

strings $(which claude) | grep CLAUDE_CODE_HIDE_ACCOUNT_INFO

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.

radres · 5 months ago

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" />

nathan-mcbride54 · 3 months ago

Still reproducible on v2.1.138 on Windows — env var reads correctly but account info still displays.

vikingh27 · 1 month ago

Still reproducible on v2.1.219 (macOS, Darwin 25.5.0).

CLAUDE_CODE_HIDE_ACCOUNT_INFO=1 set in the env block of ~/.claude/settings.json — verified the variable actually reaches the process environment (echo $CLAUDE_CODE_HIDE_ACCOUNT_INFO prints 1 inside the session), but the startup banner still shows the email/organization line.

Confirming the workaround mentioned above: IS_DEMO=1 does 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 working CLAUDE_CODE_HIDE_ACCOUNT_INFO. Would love to see the dedicated variable fixed (or a documented first-class privacy setting).