Claude Code: "claude" not found on Windows
In short: on Windows, the Claude Code installer puts claude.exe in
%USERPROFILE%\.local\bin but doesn’t always add that folder to your PATH —
so typing claude gives “‘claude’ is not recognized…” and you can’t sign in or
connect it. Fix it in one of two ways: run it once from its folder to sign in
now, then add that folder to PATH so it works everywhere.
Why this happens
Section titled “Why this happens”Windows programs are only runnable by name if their folder is on your PATH.
The Claude Code installer completes successfully and drops claude.exe into
%USERPROFILE%\.local\bin, but it doesn’t always put that folder on your user
PATH — so a brand-new terminal doesn’t know where claude is. It’s a common,
expected step, not a broken install. (Anthropic documents it as the
“command not found” after installation case.)
Fix it
Section titled “Fix it”-
Run it once from its folder — to sign in right now. Open PowerShell and run:
Terminal window cd $env:USERPROFILE\.local\bin.\claudeThat launches Claude Code even though it isn’t on
PATHyet, so you can sign in with your account. (Prefer to fixPATHfirst? Do step 2, open a new terminal, then just runclaude.) -
Add the folder to your
PATH— soclaudeworks everywhere.Terminal window $p = [Environment]::GetEnvironmentVariable('PATH', 'User')[Environment]::SetEnvironmentVariable('PATH', "$p;$env:USERPROFILE\.local\bin", 'User')This updates your user
PATHfor good. Then close and reopen your terminal so it picks up the change.Press Start, type “environment variables”, and open Edit the system environment variables → Environment Variables…. Under User variables, select Path → Edit → New, add:
%USERPROFILE%\.local\binClick OK on each dialog, then close and reopen your terminal.
-
Verify. Open a fresh terminal and run:
Terminal window claude --versionA version string means Windows now finds
claude.claude doctorprints a read-only health check if you want to confirm the install.
Then connect it in Thunderbird
Section titled “Then connect it in Thunderbird”Once claude runs in a terminal and you’ve signed in once, connect it as the AI
behind the atbridge AI Chat — pick Claude Code CLI in atbridge Settings → AI
providers. Full steps: Connect a CLI subscription.
If atbridge still can’t see it after that, it’s the atbridge-side discovery — one command fixes it: When atbridge can’t find your AI CLI.
Where to go next
Section titled “Where to go next”Was this page helpful?
Thanks for the feedback!