CLI flags issues on Windows — page 2
Issues the maintainers labelled both platform:windows and area:cli.
214 issues · 40 open · 174 resolved (81%) · first seen Feb 11, 2026
Is this getting better or worse?
This class of problem is holding steady. 56 new reports in the last 90 days vs 73 in the 90 before — -23%. The open backlog peaked at 48 in 2026-03 and sits at 40 today.
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
165 of these reports name the Claude Code build they were running, spanning 98 releases. Heaviest reporters:
- Claude Code v2.1.80
- Claude Code v2.1.63
- Claude Code v2.1.81
- Claude Code v2.1.119
- Claude Code v2.1.286
- Claude Code v2.1.251
- Claude Code v2.1.74
- Claude Code v2.1.195
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 30 days across 174 closures. Of the 174 closures with a recorded reason, 22% were closed as completed and 136 as not-planned or duplicate. The most recent completed fix landed in 2026-09.
Workarounds reported by the community
48 of these issues post a workaround someone says worked. The highest-engagement ones:
- effortLevel setting doesn't support "max" value
- …a runtime command via and doesn't persist across sessions. Workaround — SessionStart hook to auto-remind: This sets the highest persistent level ( ) and reminds you at session start that is available for the current ses…
Found in the thread of #35904 · resolved - --dangerously-load-development-channels should support skipping the confirmation dialog
- …o human at the keyboard to press Enter. We've stacked Win32 workarounds today (~80 LOC) just to get through it: - shredded our PS init line on → switched to UTF-16LE base64 - Prompt blocked spawn → after + HWND snap by u…
Found in the thread of #42486 · still open - [BUG] /desktop fails on Windows when Claude Desktop is installed as MSIX/Store package (refile of #36079)
- Confirmed Workaround (tested on Windows 11 Pro, CLI 2.1.143, Store package 1.7196.0.0) Hit the same issue independently and found that a protocol-forwarding shim at the expected path fully resolves it. This also fixes a…
Found in the thread of #59692 · resolved - [BUG] /desktop fails on Windows - "Failed to open Claude Desktop" despite app being installed and running
- …de Desktop installation (partially fixed with HKLM registry workaround) 2. Session transcript path mismatch between CLI and Desktop app i think that Both need to be fixed on Anthropic's side.
Found in the thread of #59824 · resolved - /desktop command fails on Windows Store (MSIX) installation
- …path is not directly launchable via for Store apps. Working Workaround The Claude Desktop MSIX package registers the protocol handler. Launching via protocol URI works perfectly: This correctly opens the CLI session in t…
Found in the description of #59883 · 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 101–200
Ranked by community engagement (reactions weighted over comments).
- [BUG] Running `claude` CLI from VS Code terminal opens 3 new VS Code windows
- [BUG] "mcpServers" yaml frontmatter in Subagent.md don't work when launching with `--agent` cli command
- [BUG] Windows: Desktop App execution alias shadows Claude Code CLI in PATH
- /feedback fails with "server returned 403": 9 queued feedback drafts (11 Sep – 1 Oct 2026) can't be sent, 6 of them about recurring overconfident advice
- [BUG] Simultaneous accounts session collision in Claude Code CLI
- Mobile Devices row stays "Active" after remote-control session ends and after machine power-off (server-side presence does not reconcile)
- Windows: running `claude -p` from a separate process kills the running interactive session and then hangs (2.1.200 & 2.1.201)
- [BUG] `claude update` reports stale version and prints success message before update message on repeat runs
- Windows: bang (!) prompt commands intermittently produce no output - silent failure, no error, self-recovered after ~1 day
- claude.exe exits with code 0, zero output on stdout/stderr, for any command
- claude -p --effort high intermittently hangs ~600s on long-reasoning prompts (Windows-specific; macOS unaffected)
- [FEATURE]
- [BUG] /copy command reports success but clipboard is empty (Windows)
- [FEATURE] No way to programmatically start a Remote-Control-visible session from an already-running session (blocks automated handoff-to-phone)
- C:/Program Files/Git/stickers returns 403 Forbidden in Japan
- `claude mcp add` echoes Authorization header value verbatim to stdout, leaks bearer tokens to terminal and session transcripts
- [BUG] Claude Code 2.1.149 crashes on Windows x64 with Bun 1.3.14 Illegal instruction when running --resume
- C:\Program Files\Git\desktop fails on Windows even when Claude desktop app is installed and claude;\ protocol works
- [BUG] claude --version outputs wrong release date on Windows
- [FEATURE] Unable to switch default terminal on Windows
- [Feature Request] Add option to prevent opening VS Code editor during CLI operations
- Allow selective deletion of individual conversations from history
- [Bug] Stale remote environment persists across platforms after local purge attempts
- [BUG] claude doctor to work with nvm
- [Bug] /export command broken on Windows: path handling and mkdir recursion failures
- [BUG]
- [Bug] Verbose setting not persisting after application restart
- [Feature Request] Add origin field to Claude logs for multi-instance project tracking
- [FEATURE] claude uninstall command
- /usage command broken for Claude Pro subscribers — shows 'only available for subscription plans'
- [FEATURE] Desktop app sidebar should show CLI-created sessions
- [BUG] claude -p silently exits with third-party ANTHROPIC_BASE_URL, no API request made
- effort level displays max in banner but runs at medium
- [Feature Request] Add session deletion command to remove *.jsonl files and hide sessions from `/!resume`
- [BUG] Remote Control "not yet enabled" on Max plan account
- [BUG] --print mode silent hang on Windows — recurring across v2.1.51, v2.1.78, v2.1.81
- [BUG] Remote Control: Messages from web/iOS not reaching CLI on Windows v2.1.81
- [BUG] /clear resets effortLevel to medium, ignoring settings.json
- [BUG] Custom commands disappear from autocomplete after first use — requires CLI restart
- [BUG] /desktop command fails with "Could not load cloud sessions" on Windows
- [Bug] /cron-delete command fails with scheduled job ID
- [BUG] /desktop command fails with Microsoft Store version of Claude Desktop on Windows
- [FEATURE] /voice: Add audio input device selection
- [BUG] claude remote-control does not work
- [BUG] `claude remote-control` fails with 'Workspace not trusted' despite workspace being trusted in interactive mode
- [BUG] Raw mode is not supported on the current process.stdin cat <filename> | claude with several options
- [BUG] /insights gives error 'Error: EBUSY: resource busy or locked, open'
- /resume command: single quotes break on Windows, clipboard copy has newline
- claude --continue does not preserve the original session's --model
- [FEATURE] Support for IME-friendly slash command input (Korean/Japanese/Chinese)
- remote-control fails on Windows: "bad option: --sdk-url" — bridge spawner missing script path
- [BUG] /remote-control (or /rc) raise error on windows; CC 2.1.63; node.js 24.11.1
- [BUG] stats-cache.json missing daily data for 2026-02-28
- [FEATURE] Custom temp file allocation.
- [Feature Request] Add Remote Control functionality
- [Bug] Remote Control: Invalid Node.js flag `--sdk-url` passed to session
- [BUG] remote-control session fails on Windows: "node.exe: bad option: --sdk-url"
- [BUG] remote-control fails on Windows: "node.exe: bad option: --sdk-url"
- claude remote-control fails on Windows: node.exe receives --sdk-url as node flag
- [BUG] Resume picker does not show custom session name set via /rename
- "Couldn't share transcript" after accepting the share prompt, and /feedback returns 403 even after /login
- [Bug] CLI hangs during malware analysis of infected APK files
- [FEATURE] Auto restart on update for Claude Code
- Remote Control: allow --continue / --session-id to keep multi-session mode (or restore all sessions of an environment)
- [Bug] PowerShell crashes Claude Code CLI
- [Bug] Invalid model flag validation on conversation start
- [BUG] Windows Task Scheduler silently fails to launch `claude -p` subprocess (no process, no output, stuck "Running" status)
- /claim-credit command missing in CLI 2.1.282 (Max plan, Windows)
- [BUG]
- [Bug] Sessions missing from /resume list despite existing local JSONL files
- I LOVE CLAUDE CODE[Feature Request] Improve user feedback messaging for Claude Code CLI
- [Bug] Firefox browser not supported by Claude Code CLI
- Intermittent: piped -p prompt is enqueued and recorded in the transcript but never reaches the model - session answers an empty user turn
- [Feature Request] Native Claude Code app should display terminal session history
- [BUG] remote-control --name is silently ignored: the client shows repository and branch (or the folder name) instead
- [BUG] Windows: claude-cli:// deep link terminal opens and immediately closes (no interactive session)
- Feature: Expose VS Code session names in CLI and allow moving sessions across project contexts
- C:/Program Files/Git/model <name> should ask before saving as default, and accept an explicit persistence argument
- [BUG] Subprocess/binary hangs indefinitely on Windows — all diagnostics pass, no error ever returned
- [Bug] Claude Code CLI exits with code 1 on Windows when processing image attachments
- Interactive `claude --resume <invalid-id>` silently starts a new session instead of erroring (non-TTY mode already errors correctly)
- [BUG] /desktop fails with "Failed to open Claude Desktop" on Windows while the same deep link works manually
- Remote Control: messages sent from phone/web show as sent but never arrive in the CLI session
- [BUG] claude.exe hangs indefinitely on --version/--help in corporate Windows VDI (valid signature, ESET disabled, Node.js unaffected)
- [BUG] /export command missing from slash command list in specific project folder
- [Bug] Remote Control feature unavailable despite active Claude Max subscription
- [Bug] OAuth authenticated Claude Code returns "not yet enabled" for remote-control command
- grace_daily_limit_reached triggers inconsistently for claude --print, independent of account usage % shown in UI
- [BUG] Auto-opened URLs (e.g. /login) are wrapped in literal quotes on Windows, breaking Edge
- [BUG] Claude CLI Subscription Type Modification / Plan Escalation Issue
- [BUG] claude --version outputs wrong release date on Windows
- [BUG] install-github-app waste so many token and still failed install
- claude update doesn't work when the limit is hit
- [BUG] disableAgentView blocks both commands that `claude --resume` suggests for a session still running in the background
- [BUG] stream-json: a prompt that starts with a built-in command's name (/help, /compact) never reaches the model, even with --disable-slash-commands
- claude -r picker hides sessions whose first message contains a pasted image
- [BUG] `claude agents --json` leaves suspended `git ... remote` children behind (Windows)
- claude --bg returns success but the session waits at the .mcp.json approval dialog; check pending project-server approval like workspace trust
- [DOCS] Channels: print mode (-p) never delivers channel events, but the page reads as if it does
- claude --cloud fails repository auth when a git url.insteadOf rule rewrites the GitHub remote