How to install Claude Code on Windows 10 and 11
Hocusclick guide · 3 December 2026
To install Claude Code on Windows, open PowerShell and run irm https://claude.ai/install.ps1 | iex. Then open a new window and type claude --version. You need Windows 10 version 1809 or later, 4 GB of memory, a 64-bit computer and a paid Claude plan: the free plan does not include Claude Code.
What do you need first?
- Windows 10 1809 or later, or Windows 11. Windows Server 2019 or later works too.
- 4 GB of memory or more, and a 64-bit processor (x64 or ARM). 32-bit Windows is not supported.
- A Claude plan that includes Claude Code: Pro, Max, Ultra, Team, Enterprise, or a Console account with API credits. The free plan does not include it. See which plan you need.
- Git for Windows: optional, and recommended. With it, Claude Code uses Git Bash for its commands; without it, it uses PowerShell.
You do not need to run anything as Administrator.
How do you install it from PowerShell?
- Press the Windows key, type PowerShell and open Windows PowerShell. Not the one marked x86: that one is 32-bit and the install stops with an error.
- Your prompt starts with
PS C:\. Paste this and press Enter:
irm https://claude.ai/install.ps1 | iex
- Wait. The installer shows no progress while it downloads.
- Close the window and open a new one, so Windows picks up the new command.
How do you install it from CMD?
In Command Prompt the prompt has no PS in front. Use this line instead:
curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd
Can you install it with WinGet?
Yes: winget install Anthropic.ClaudeCode. One difference: a WinGet install does not update itself. Run winget upgrade Anthropic.ClaudeCode now and then. The PowerShell and CMD installs update themselves in the background.
How do you check that it works?
Open a new window and run:
claude --version
A working install prints a version number, such as 2.1.211 (Claude Code). For a fuller check, run claude doctor: it reports the health of the install and any settings errors, without starting a session.
Then go to the folder of your project and type claude. The first time, it asks you to log in with your Claude account.
What do the common errors mean?
| You see | What happened | Fix |
|---|---|---|
'irm' is not recognized | You are in CMD, not PowerShell | Use the CMD line above, or open PowerShell |
The token '&&' is not a valid statement separator | You are in PowerShell with the CMD line | Use the PowerShell line |
A parameter cannot be found that matches parameter name 'fsSL' | You ran the Mac and Linux line in PowerShell | Use the PowerShell line |
'claude' is not recognized after the install | The install folder is not on your PATH yet | Open a new window first. If it stays, add %USERPROFILE%\.local\bin to your PATH |
The process cannot access the file | An earlier install is still running, or antivirus is scanning the download | Close other PowerShell windows, delete %USERPROFILE%\.claude\downloads, run the install again |
Typing claude opens the Claude desktop app | An old Claude Desktop takes over the command | Update Claude Desktop |
Native Windows or WSL?
Both work. Native Windows is the simplest, and right for projects and tools that live on Windows. WSL 2 is for people who build with Linux tools; there you install and start Claude Code inside the WSL terminal, with the Linux install command. Only WSL 2 supports sandboxed commands.
What next?
Claude Code runs in the terminal. You type what you want, it reads your project, changes files and runs commands, asking first. To give it a picture of your screen, see screenshot to code with Claude Code.
Hocusclick works through the Claude Code you just installed: you point at anything on your screen and it answers, does the work or builds it, without the screenshot and the explaining.