⚡ Key takeaways
- One line in PowerShell installs Claude Code. You do not need Administrator rights, Node.js or Git.
- Match the command to the shell. The PowerShell command fails in CMD, and the CMD command fails in PowerShell.
- You need a paid Claude plan or a Console account. The free claude.ai plan does not include Claude Code.
- “claude is not recognized” means the install folder is not on your PATH. Open a new terminal first; if that fails, add one folder to your user PATH.
You can install Claude Code on Windows 11 with a single command in PowerShell, with no Node.js and no administrator rights, and then ask it questions about your project. This guide covers the check, the first sign-in and fixes for common errors.
What you need
- Windows 10 version 1809 or newer. Windows 11 works too. It needs a 64-bit system with at least 4 GB of RAM.
- A Claude account that includes Claude Code. That means Pro, Max, Ultra, Team or Enterprise, or a Console account. The free plan does not.
- A project folder. Any folder with code or files you want Claude to work on.
- Optional: Git for Windows. Without it, Claude Code runs shell commands through PowerShell.
Step 1: open PowerShell
The command you run depends on the shell, so check which one you have. Your prompt shows PS C:\ in PowerShell and C:\ without the PS in CMD.
- Open the Start menu.
- Type PowerShell.
- Click Windows PowerShell (or Terminal, if it opens a PowerShell tab). Avoid the entry with “(x86)” after it.
Step 2: install Claude Code on Windows with one command
This is the native installer, which updates itself in the background.
irm https://claude.ai/install.ps1 | iex
The command shows no progress while it downloads, so wait until the prompt comes back. You do not need to run PowerShell as Administrator.
Prefer WinGet? Run winget install Anthropic.ClaudeCode instead. That version does not update itself; run winget upgrade Anthropic.ClaudeCode now and then.
Step 3: check that it installed
- Close the window and open a new PowerShell window. The new window picks up the changed PATH.
- Run
claude --version.
You should see a version number followed by (Claude Code). For a fuller check, run claude doctor. It prints your install health and any settings problems without starting a session.
Step 4: start your first session and sign in
- Go to a project folder, for example
cd C:\Users\YourUsername\Projects\my-project. - Run
claude. - Follow the prompts to sign in. A browser window opens for your Claude account.
- Ask a first question, such as
what does this project do?
Claude Code reads your project files as it needs them, so you do not have to paste anything in. Type /help to see the available commands and /exit to leave.
💡 Start in a folder you can restore
Claude Code can edit files in your project, so use a Git repo or a backup.
Troubleshooting
“claude is not recognized” after the install
The install folder is not on your PATH yet. Open a new terminal first. If that does not help, check that the program exists and add its folder to your user PATH:
Test-Path "$env:USERPROFILE\.local\bin\claude.exe"
$currentPath = [Environment]::GetEnvironmentVariable('PATH', 'User')
[Environment]::SetEnvironmentVariable('PATH', "$currentPath;$env:USERPROFILE\.local\bin", 'User')
The first line should print True. Restart your terminal, then run claude --version again. If your terminal runs inside an editor, quit and reopen the editor.
“irm is not recognized” or “token ‘&&’ is not a valid statement separator”
You used a command for the wrong shell. irm is not recognized in CMD, so open PowerShell as in step 1. The && error is the opposite case: you ran the CMD installer in PowerShell. Use the PowerShell command above.
“Claude Code does not support 32-bit Windows”
You probably opened the “Windows PowerShell (x86)” entry, which is 32-bit even on a 64-bit PC. Run [Environment]::Is64BitOperatingSystem; if it prints True, open the plain Windows PowerShell and install again.
“requires either Git for Windows (for bash) or PowerShell”
Claude Code found neither shell. Git for Windows is optional, so the simplest fix is to put PowerShell back on your PATH: its default folder is C:\Windows\System32\WindowsPowerShell\v1.0\. You can also install Git for Windows and select “Add to PATH” during setup.
The install fails with a 403 or prints HTML
A 403 usually means a proxy or network filter is blocking the download, or that Claude Code is not available in your region. Try another network, or check the official install troubleshooting page for the error you see.
What’s next
Prefer a graphical interface? Anthropic also offers a Claude Code desktop app. Not sure Claude Code is the right agent? Compare it in Claude Code alternatives.
Frequently asked questions
How do I update or uninstall it?
The native install updates itself. To update at once, run claude update. To uninstall a native install, delete claude.exe under .local\bin and the .local\share\claude folder in your user profile.
The Tested Weekly
One email a week with the guides we tested, sources linked. No spam.