Skip to content

Windows & WSL

Run OpenCorvus on Windows or under WSL — quirks and recommendations.

OpenCorvus is built on Bun and runs natively on Windows. WSL is supported and recommended when you need full Linux toolchain parity (ripgrep, sandboxed bash, native git worktree behavior).

Native Windows

Bun ships official Windows builds. OpenCorvus uses them directly.

Path handling

  • Bash tool calls are routed through the configured shell (shell in config). On Windows, the default discovery prefers pwsh then cmd.exe.
  • Bun’s Bun.spawn() accepts both forward slashes and backslashes; OpenCorvus normalizes paths internally before passing to the LLM.
  • The overlay and opencorvus serve run as plain Windows binaries.

Known gotchas

GotchaWorkaround
cwd drift in long-running background jobsUse absolute paths in custom commands
Nested .git directories under packaged buildsAvoid running git inside dist/ artifacts
ripgrep not on PATHPass an absolute rg.exe path or install via scoop / winget
Long path limitEnable Windows long-path support for repos with deep node_modules

WSL

For maximum parity with the Linux CI environment, run inside WSL2:

Terminal window
# inside Ubuntu-on-WSL
curl -fsSL https://bun.sh/install | bash
git clone https://github.com/yangheng95/opencorvus
cd opencorvus
bun install
bun run --cwd packages/opencorvus dev -- serve

When developing the overlay, the Tauri build still requires native Windows — only the headless opencorvus serve benefits from WSL parity.

Choosing native vs WSL

NeedRecommendation
Run Overlay desktop UINative Windows — Tauri runs there
Headless server in CI-like environmentWSL2 — closer to Linux runners
Bash-heavy tasks the agent will executeWSL2 preferred
Mixed: edit on Windows, run server in WSLOK, but pin a single repo path; do not cross-mount over \\wsl$ from Windows tools