Bash execution issues on Windows — page 2

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

335 issues · 100 open · 235 resolved (70%) · first seen Feb 23, 2026

Is this getting better or worse?

This class of problem is holding steady. 110 new reports in the last 90 days vs 125 in the 90 before — -12%. The open backlog peaked at 100 in 2026-10 and sits at 100 today.

0 25 50 75 100 2026-022026-052026-082026-10
2026-02 — First reports2026-04 — Most new reports (58)2026-10 — Peak backlog (100 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

210 of these reports name the Claude Code build they were running, spanning 102 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 34 days across 235 closures. Of the 235 closures with a recorded reason, 23% were closed as completed and 182 as not-planned or duplicate. The most recent completed fix landed in 2026-10.

Workarounds reported by the community

139 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] Bash cd-compound-read guard prompts on absolute cd targets whenever a Read() deny rule exists (Windows Git Bash, 2.1.257-2.1.259)
…ing the 2.1.259 changelog entry added. One more note on the workaround: removing the deny rules is not something the agent can do for you when is in effect. Both the Bash edit and the Edit tool call on are refused by the…
Found in the thread of #91650 · 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
bypassPermissions mode now prompts on `cd DIR && grep …` when a Read() deny rule is configured (regression in 2.1.259)
…ws the mode was throughout and auto mode was never entered. Workaround Tell agents not to use prefixes or recursive grep over directories (use explicit file lists or a file-search tool). That removes the prompts but mean…
Found in the description of #91683 · still open

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 101–200

Ranked by community engagement (reactions weighted over comments). Listing the top 300 of 335 matches; the statistics above cover all 335.

Related aggregations

  1. Bash execution issues on macOS

    507 issues
  2. Bash execution issues on Linux

    253 issues
  3. Bash execution issues on VS Code

    62 issues
  4. The desktop app issues on Windows

    2,230 issues
  5. Terminal UI issues on Windows

    1,760 issues
  6. Core CLI issues on Windows

    1,413 issues
  7. Model behaviour issues on Windows

    1,301 issues
  8. Cowork issues on Windows

    1,071 issues