Claude Code on Windows: native, WinGet or WSL 2

Claude Code runs natively on Windows 10 1809 or later and Windows 11, with no WSL and no administrator rights. The three ways to install it, why Git for Windows helps, when WSL 2 is still the better pick, and how to keep a WinGet install up to date.

Short answer: Yes, Claude Code runs natively on Windows 10 (version 1809 or later), Windows 11 and Windows Server 2019 or later, with no WSL and no administrator rights. Open PowerShell and run irm https://claude.ai/install.ps1 | iex, or install it with WinGet: winget install Anthropic.ClaudeCode. Add Git for Windows so Claude can use Bash. Choose WSL 2 only when you want Linux tools or sandboxed commands.

Older guides tell Windows users to install WSL first. That was true once and is not any more: the native installer puts a signed claude.exe on your machine, and you start it from any terminal like every other command.

Checked against the Claude Code setup docs on 23 November 2026 (Claude Code 2.1.330).

Nothing loads from YouTube until you press play. Then Google receives your IP address and may set its own storage. Narrated with an AI-generated voice. Privacy

Which install should you pick on Windows?

There are three ways in, and the official setup page puts them side by side:

WayNeedsUpdatesSandboxing
Native, the one-line installerNothing extraBy itself, in the backgroundNot supported
Native, WinGetThe winget commandYou run winget upgradeNot supported
WSL 2WSL 2 turned onBy itself, in the backgroundSupported

The commands, in PowerShell, with WinGet and inside WSL:

irm https://claude.ai/install.ps1 | iex
winget install Anthropic.ClaudeCode
curl -fsSL https://claude.ai/install.sh | bash

Pick native when your projects live on the Windows side and use Windows tools. Pick WSL 2 when your project builds with Linux toolchains, or when you want Claude's commands to run in a sandbox, which native Windows does not support. If you install in WSL, you also start claude inside the WSL terminal, not from PowerShell.

How do you know if you are in PowerShell or CMD?

Look at the prompt. PowerShell shows PS C:\Users\YourName>, CMD shows C:\Users\YourName> without the PS. The two need different install lines. In CMD the one line is:

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

The installer shows no progress while it downloads. When it finishes, open a new terminal window and run claude --version. A version number means it worked; "not recognized" means the install folder is not on your PATH yet, and a new window usually fixes that.

Why install Git for Windows as well?

Without it, Claude Code runs its shell commands in PowerShell. With Git for Windows installed, it uses Git Bash for its Bash tool, which is what most project scripts, READMEs and Claude's own habits expect. You still keep PowerShell: on a claude.ai or Console account the PowerShell tool stays on next to Bash.

If Claude Code cannot find Git Bash, point it there in your settings.json:

{
  "env": {
    "CLAUDE_CODE_GIT_BASH_PATH": "C:\\Program Files\\Git\\bin\\bash.exe"
  }
}

Does a WinGet install update itself?

Not by default. The native installer updates in the background, but WinGet, like Homebrew, leaves upgrades to you. Run this now and then:

winget upgrade Anthropic.ClaudeCode

Or set the environment variable CLAUDE_CODE_PACKAGE_MANAGER_AUTO_UPDATE to 1, and Claude Code runs the upgrade itself when a new version is out. One catch from the docs: Windows locks a running claude.exe, so the upgrade can fail while a session is open. Claude Code then shows you the command to run once you close it.

What does your PC need?

  • Windows 10 1809 or later, Windows 11, or Windows Server 2019 or later
  • 4 GB of RAM or more, an x64 or ARM64 processor
  • An internet connection and a Pro, Max, Ultra, Team or Enterprise plan, or a Console account

Administrator rights are not on the list. The docs say it plainly: you do not need to run the installer as Administrator.

Where can you check this?

What do you set up after installing?

Once claude --version answers, the next files are the same on every system: CLAUDE.md, permissions and settings. Config Studio for Claude Code explains each file Claude Code reads, shows which one wins, and writes it for you, including the env block above. Claude Code setup: 3 things to do after installing gives the order.

The tool

Do it in your browser.

Claude Code

Config Studio for Claude Code

Every file Claude Code reads, explained: what each setting does, where it lives, which file wins, and an editor that writes it for you.

Keep reading

More from the blog.

Every post