How to install Claude Code on Windows: step-by-step guide

What you need

Short answer

The easiest way to get Claude Code on Windows is the Claude desktop app from claude.com/download, where Claude Code sits in the Code tab and needs neither a terminal nor Node.js. If you want the command-line version, it's a single command in PowerShell, and either way you need a paid plan, Pro at $20 a month at minimum. As of 27 Nov 2026.

I work on Windows and use Claude Code in the desktop app, where I type the same way I would in a chat, so this guide follows the path I took myself, plus the terminal option for anyone who wants it. The full route from installation to your own live website is in the First project guide. This page covers only the installation and what tends to go wrong with it on Windows.

According to Anthropic's documentation you need Windows 10 version 1809 or later (any Windows 11 qualifies), at least 4 GB of RAM, an x64 or ARM64 processor and an internet connection. You don't need a powerful machine, because the model runs on Anthropic's servers and all you have on your end is a window to type into.

The second requirement is a paid plan, because the Free plan doesn't include Claude Code. Pro at $20 a month, or $17 a month billed yearly, is enough to start, and all the plans are compared in Costs. I checked prices and steps on Anthropic's sites on 26 November 2026.

App or terminal

On Windows, Claude Code comes in two forms that share the same subscription and can do essentially the same things. The first is the Claude desktop app, which has both the chat and Claude Code as the Code tab, and that's where I work. The second is the command-line version, which you start by typing claude in PowerShell or the CMD command prompt.

If you don't program, I recommend the app. You install it like any other program, you can see file changes clearly in a window, and according to the documentation it needs neither Node.js nor a separate install of the terminal version. The terminal gives you nothing extra until you want to run Claude Code from scripts or on a server.

Installing the app, step by step

  1. Open claude.com/download and download the Windows installer. Ordinary laptops and desktops have an x64 processor, and if yours has an ARM processor (some thin laptops with Snapdragon chips), download the separate ARM64 installer.
  2. Run the installer, then open Claude from the Start menu.
  3. Sign in with the same account you used to pay for the subscription.
  4. Click the Code tab at the top of the left sidebar, and if the sidebar shows only icons, hover over them to see their names.
  5. Under the prompt box, pick the Local environment in the first control, meaning your computer, and next to it the folder Claude should work in.

The whole thing takes about ten minutes. If you get an upgrade prompt after clicking Code, the account has no paid plan or you're signed in with a different account, and if the app asks you to sign in online, finish that and restart the app. A 403 error is covered in the app documentation.

Give your project folder a short name without spaces or accented letters, for example C:\Projects\my-site, and keep it outside OneDrive, because syncing can lock files just as Claude is working on them. I go into more detail in step 3 of First project, which also explains the permission modes.

Git for Windows

Right after the app, install Git for Windows from git-scm.com/downloads/win, where you can click through the installer with the default options. Git is a tool for saving versions, and the documentation calls it optional on Windows, but skipping it only makes sense if all you want is to write text with Claude.

Git also gives you Git Bash, which Claude Code uses to run commands, and without it Claude uses PowerShell instead. Both work, but if you want to save your project's versions on GitHub, and when building a website you do, you can't do without Git anyway.

The terminal version

If you'd still like Claude Code on the command line, open Windows PowerShell from the Start menu. You can tell it's the right window because the line starts with PS, for example PS C:\Users\YourName>, and you don't need to be an administrator. Paste this command and press Enter.

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

If you opened the CMD command prompt instead of PowerShell, where the line starts with just C:\ and no PS, use this command instead.

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

The installer shows nothing while it downloads, so give it a moment. Then close the window, open a new one and check that it worked with the first of the commands below, which prints a version number. The second one, claude doctor, checks the installation and settings and describes any problems along with a suggested fix.

claude --version
claude doctor

Then move into your project folder and type claude. The first time, Claude sends you to the browser to sign in with the account you pay for the subscription with, and from then on the terminal version updates itself in the background.

If you install software with WinGet, you can use that too. A version installed this way doesn't update itself, though, and according to the documentation you need to upgrade it now and then with winget upgrade Anthropic.ClaudeCode.

winget install Anthropic.ClaudeCode

Common errors and what to do

Most installation problems on Windows have a simple cause, and Anthropic's documentation has a clear table of fixes for individual messages. These are the ones that come up most often.

  • If Windows says 'claude' is not recognized after installing, closing the window and opening a new one usually fixes it, because the old window doesn't know about the new program folder yet. If that doesn't help, the install folder is missing from your PATH, and the fix is in the documentation under Fix your PATH.
  • The message 'irm' is not recognized means you pasted the PowerShell command into CMD, and The token '&&' is not a valid statement separator means the opposite, the CMD command in PowerShell.
  • The message Claude Code does not support 32-bit Windows appears when you open the Windows PowerShell (x86) entry in the Start menu, and opening the one without x86 fixes it.
  • On a company laptop, a proxy or corporate certificate can stop the installation, and the message then mentions Failed to fetch version or a TLS or SSL error. You can't get around that yourself, and it's better to ask your IT department.
  • If your computer has an ANTHROPIC_API_KEY environment variable set, Anthropic's help pages say Claude Code uses that key instead of your subscription and bills your work at API prices. If you never created a key, this doesn't affect you.

For most other cases, the same approach works as in everyday work, so you copy the whole error message into a chat with Claude and ask it to explain what it means and what you should do.

Do you need WSL?

WSL is Linux running inside Windows, and it comes up a lot in guides for programmers. Claude Code doesn't need it on Windows because it runs natively, and WSL 2 only makes sense if you work with Linux tools or want a sandbox, an isolated environment in which Claude runs commands separately from the rest of the system. According to the documentation, sandboxing isn't available on native Windows.

Native Windows is enough for a first website, an automation or work with Excel. You can limit what Claude may do on its own and what it has to ask about without a sandbox too, with the permissions I describe in My setup.

What next

Once Claude Code is running, continue with the First project guide from the project folder step, where you set up rules in a CLAUDE.md file, build your first page and publish it. How context, modes and voice input work in Claude Code is in Context and modes.

Once you work with it daily, the subscription limits come into play, and how the five-hour window and the weekly limit work is explained in Limits.