Skip to content

fix(cli): detect WinGet Claude Code on Windows - #6647

Merged
diegosouzapw merged 7 commits into
diegosouzapw:release/v3.8.47from
enjoyer-hub:fix/windows-claude-winget-detection
Jul 9, 2026
Merged

diegosouzapw merged 7 commits into
diegosouzapw:release/v3.8.47from
enjoyer-hub:fix/windows-claude-winget-detection

Conversation

@enjoyer-hub

Copy link
Copy Markdown
Contributor

Summary

  • add the WinGet Anthropic Claude Code install location to Claude CLI known paths on Windows
  • cover the path with a CLI runtime regression test

Why

WinGet installs Claude Code at %LOCALAPPDATA%\Microsoft\WinGet\Packages\Anthropic.ClaudeCode_Microsoft.Winget.Source_8wekyb3d8bbwe\claude.exe, which was not in OmniRoute's fallback lookup list. Users could work around it with CLI_CLAUDE_BIN, but OmniRoute should detect the WinGet install automatically.

Test

  • node --max-old-space-size=8192 --import tsx/esm --import ./open-sse/utils/setupPolyfill.ts --import ./tests/_setup/isolateDataDir.ts --test --test-force-exit tests/unit/cli-runtime-detection.test.ts

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants