Claude Code 1.0.xInstall

Claude Code: "'claude' is not recognized" on Windows

'claude' is not recognized as an internal or external command, operable program or batch file.
Affected versions
1.0.x
Fixed in
Last verified
Claude Code 1.0.x

Root cause

On Windows the directory containing claude.cmd isn't on PATH, or the terminal was opened before the installer updated PATH.

How to reproduce

Install Claude Code on Windows, open an existing terminal, run `claude` — not recognized.

Solutions (2)

Ordered by community votes. Always check the verified version before applying.

26
#1Applies to 1.0.x

Open a NEW terminal (PowerShell/Windows Terminal) after install so it picks up the updated PATH, then run `claude`.

Last verified: Claude Code 1.0.x · community

15
#2Applies to 1.0.x

Locate the claude binary directory (npm global bin or the native install path) and add it to your user PATH in System Environment Variables.

Last verified: Claude Code 1.0.x · community

Source

Related errors