The Claude Code installer for Windows looks stuck because it downloads without progress

hello@amdsaad.com

#9
2 min
Claude Code, PowerShell, Windows

The story

I was testing a setup kit on a brand-new Windows account, to see what a stranger would hit. The first step was installing Claude Code, the terminal coding agent, with its one-line PowerShell installer:

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

Nothing happened, so it looked broken. I tried the next thing on offer: a downloaded installer gave an error telling me to contact the publisher, and the Microsoft Store install ended with claude --version still not recognised. The Store app turned out to be the Claude desktop chat app, not Claude Code for the terminal.

To see what was going on, I downloaded the script to a file instead of piping it, ran it as a file, and read it. The installer wasn't stuck: it downloads a large file (well over 100 MB) with its progress display switched off, so nothing shows until the download ends. My first attempts had been stopped with Ctrl+C before it got there.

Why I'm sharing this

Anyone on a slow connection or a fresh machine can take the silence for a hang, stop it, and go down the same wrong turns. The Store app has the same name, so it is easy to think you installed the right thing.

The fix

  1. Download the script, so any message it prints stays on screen:
irm https://claude.ai/install.ps1 -OutFile $HOME\install-claude.ps1
powershell -NoProfile -ExecutionPolicy Bypass -File $HOME\install-claude.ps1
  1. Wait. Don't press Ctrl+C while the window is quiet.
  2. If it ends with a note about PATH, add its folder for your user:
[Environment]::SetEnvironmentVariable('Path', [Environment]::GetEnvironmentVariable('Path','User') + ';' + "$HOME\.local\bin", 'User')
  1. Open a new PowerShell window (a normal one, not "Run as administrator") and check with claude --version. It printed a version number.

Use it in your workflow

I'm writing install instructions for <project> that tell Windows users to install Claude Code. Update them so that they:
1. say the installer downloads a large file without a progress bar, so it can look stuck, and not to stop it;
2. say the Microsoft Store "Claude" app is the desktop chat app, not Claude Code for the terminal;
3. include the PATH step for $HOME\.local\bin and a `claude --version` check in a new, non-admin PowerShell window.
Show me the diff before saving.