Claude Code on Windows

How Claude Code runs on Windows today, the install commands, and the route with nothing to install: an always-on Linux workspace you open in Edge or Chrome, signed in once from the Launch menu.

Updated November 23, 2026 · Checked against Claude Code 2.1.308 in EnvHaven v1.9.0

Claude Code runs on Windows natively or through WSL. It needs 64-bit Windows 10 1809 or later. On native Windows it runs commands without its sandbox, which works under WSL 2. (Claude Code documentation)

There is also a way that leaves Windows out of it: in EnvHaven, Claude Code runs on a Linux workspace of its own and the PC is only the window. Nothing to install on the PC, no WSL to set up, and the PC can sleep while Claude Code works.

Claude Code from Windows, on EnvHaven

  1. Open your workspace in Edge or Chrome.
  2. Tap Launch, choose Claude Code and tap Sign in: it opens claude.ai so you can approve the workspace, then takes the short code the page shows, so a Claude plan works with no API key. For an API key, choose Set key instead and paste ANTHROPIC_API_KEY or CLAUDE_CODE_OAUTH_TOKEN; the workspace keeps it write-only.
  3. Start it with one tap: signed in, Claude Code gets a green dot in the Launch menu and an icon in the workspace’s top bar. Support is built in (2.1.308), so there is nothing to install or update.
  4. Give it a task. The image writes defaultMode: "bypassPermissions" into the workspace user’s own settings, so claude starts without prompts, as an unprivileged user.
  5. Prefer a terminal window? Windows’ built-in OpenSSH client (ssh in Windows Terminal or PowerShell) connects to the workspace and lands in the same session. First add your public key, or import it from GitHub, under Remote Access in the workspace’s EnvHaven sidebar.

Install Claude Code on Windows itself

PowerShell:

irm https://claude.ai/install.ps1 | iex

CMD:

curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd

WinGet:

winget install Anthropic.ClaudeCode

Through WSL

WSL runs a Linux distribution inside Windows (Microsoft’s guide). Install it from an administrator PowerShell and restart:

wsl --install

Then install Claude Code in the Ubuntu terminal it opens:

curl -fsSL https://claude.ai/install.sh | bash