Bash execution issues on Windows — page 3

Issues the maintainers labelled both platform:windows and area:bash.

254 issues · 53 open · 201 resolved (79%) · first seen Feb 23, 2026

Is this getting better or worse?

This class of problem is converging. 83 new reports in the last 90 days vs 130 in the 90 before — -36%. The open backlog peaked at 61 in 2026-04 and sits at 53 today.

0 15 31 46 61 2026-022026-042026-062026-08
2026-02 — First reports2026-04 — Peak backlog (61 open)

Derived by counting each matching issue from its creation date until it closed. First-party computation over the anthropics/claude-code tracker — the trend is not published anywhere upstream.

Which builds report this

145 of these reports name the Claude Code build they were running, spanning 75 releases. Heaviest reporters:

Report volume, not a defect count: an issue can mention a build without that build having caused the failure. Versions come from the version string in the bug-report template, matched against real published tags.

Do these get fixed?

Median time to close is 32 days across 201 closures. Of the 201 closures with a recorded reason, 24% were closed as completed and 152 as not-planned or duplicate. The most recent completed fix landed in 2026-08.

Workarounds reported by the community

112 of these issues post a workaround someone says worked. The highest-engagement ones:

[BUG] Permission prompt incorrectly triggers on cd instead of the actual command in compound bash statements
I'm having some success with the following very explicit workaround in :
Found in the thread of #28240 · still open
[BUG] Unnecessary "cd" prepended to Bash commands on Windows due to path format mismatch
…ermission system matches the instead of the actual command. Workaround — PreToolUse hook to auto-approve cd-prefixed commands: includes a hook that handles this pattern while still blocking dangerous commands in the chai…
Found in the thread of #30524 · resolved
[BUG] Stale .git/index.lock left behind after Bash tool git commands on Windows
…to it exists, even if the process has logically completed. Workaround Manually delete the lock file: Environment - OS: Windows 11 Enterprise 10.0.26200 - Shell: Git Bash - Claude Code: Latest (CLI) - Related: 11005 (clo…
Found in the description of #28546 · still open
[Bug] Bash tool execution failing or non-functional
…fine to the same directory. Rolling back to 2.1.52 per the workaround.
Found in the thread of #28333 · resolved
[Bug] EINVAL on Windows: Bash commands fail - cannot open task output file
Still reproducible on v2.1.56 — workaround found Environment: - Claude Code v2.1.56 (native install) - Windows 11 Pro Build 26200 - Git Bash (C:\Program Files\Git\bin\bash.exe) Finding: The v2.1.55 fix is incomplete. The…
Found in the thread of #28364 · resolved

Excerpts are quoted from the linked issue so you can judge relevance before opening it. Threads that only ask for a workaround, or report that there is none, are excluded. These are community suggestions, not official guidance from Anthropic — read the full thread before applying one.

Matching issues 201–254

Ranked by community engagement (reactions weighted over comments).

Related aggregations

  1. Bash execution issues on macOS

    402 issues
  2. Bash execution issues on Linux

    197 issues
  3. Bash execution issues on VS Code

    51 issues
  4. Terminal UI issues on Windows

    1,531 issues
  5. The desktop app issues on Windows

    1,518 issues
  6. Core CLI issues on Windows

    1,287 issues
  7. Tool calls issues on Windows

    891 issues
  8. Cowork issues on Windows

    872 issues