You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Bash tool fails on Windows — "Session environment not yet supported on Windows" (v2.1.45) #26610
Behavior:
Every Bash tool call fails with exit code 1 and no output. The debug log shows this fires before every failure:
Session environment not yet supported on Windows
Bash tool error (Xms): Shell command failed
Affected commands: All shell built-ins (echo, pwd) and Unix utilities (cat, grep). Windows .exe commands (e.g.
where.exe) succeed.
Not affected: Read, Grep, Glob, Edit, Write tools all work normally.
Reproducer:
Install Claude Code v2.1.45 on Windows with Git Bash
Open any session
Run echo hello via Bash tool → exit code 1, no output
Note: Affects all profiles (default ~/.claude/ and custom CLAUDE_CONFIG_DIR profiles equally).
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.
Activity
github-actions commentedon Feb 18, 2026
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
MarcoCrankVRU commentedon Feb 18, 2026
Yeah this bug seems to have been introduced in 2.1.145 and it is breaking a lot of things on my side.
github-actions commentedon Mar 19, 2026
Closing for now — inactive for too long. Please open a new issue if this is still relevant.
github-actions commentedon Mar 26, 2026
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.