[Bug] CLI Incorrectly Defaults to UNIX Commands on Windows 11

Status Closed — not planned
Maintainer reply None cached
Activity 6 comments · opened Sep 22, 2025 · closed Jan 29, 2026

Bug Description
Claude keeps trying to perform UNIX commands on a Windows 11 PC, I know this a big deal, but it's irritating for us Windows users. Even when I add explicit instructions to CLAUDE.md, the CLI doesn't remember and keeps default to unix commands. It does eventually correct them, but this is time lost

Environment Info

  • Platform: win32
  • Terminal: vscode
  • Version: 1.0.120
  • Feedback ID: 84d80ca3-2043-4161-97ff-54dda74880aa

Errors

[]

View original on GitHub ↗

6 Comments

github-actions[bot] · 10 months ago

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

S7oneCu77er · 10 months ago

still active, happens to me daily.

mbul · 9 months ago

This is something that has been happening from the beginning. When is it going to be fixed instead of being auto-closed?

github-actions[bot] · 8 months ago

This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.

marcindulak · 8 months ago

This issue was closed incorrectly despite recent human comments. This behavior of the bot is reported at https://github.com/anthropics/claude-code/issues/16497. Please upvote that issue, so maybe it gets noticed.

github-actions[bot] · 8 months ago

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.