Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · claude-code

Troubleshoot installation and login changedtroubleshoot-install

Nearest release: v2.1.233, published under an hour before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+1added
Lines−38removed
From line 501 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits23to this page, all time

The whole hunk

from line 501, old and new numbered
/
lines
from line 501
501501 
502502### `Failed to fetch version from downloads.claude.ai`
503503 
504The installer couldn't reach the download server. This typically means `downloads.claude.ai` is blocked on your network.
504The installer couldn't reach the download server. This typically means `downloads.claude.ai` is blocked on your network. See [Check network connectivity](#check-network-connectivity).
505505 
506**Solutions:**
507 
5081. **Test connectivity directly**:
509 
510 ```bash theme={null}
511 curl -sI https://downloads.claude.ai/claude-code-releases/latest
512 ```
513 
514 An `HTTP/2 200` line means the server is reachable. Other results point to the cause:
515 
516 * `403`: usually a proxy or network filter blocking the host, or Claude Code is [not available in your region](https://www.anthropic.com/supported-countries)
517 * `5xx`: usually a temporary service issue; wait a few minutes and retry
518 
5192. **If behind a proxy**, set `HTTPS_PROXY` so the installer can route through it. See [proxy configuration](/docs/en/network-config#proxy-configuration) for details.
520 ```bash theme={null}
521 export HTTPS_PROXY=http://proxy.example.com:8080
522 curl -fsSL https://claude.ai/install.sh | bash
523 ```
524 
5253. **If on a restricted network**, try a different network or VPN, or use an alternative install method:
526 
527 On macOS:
528 
529 ```bash theme={null}
530 brew install --cask claude-code
531 ```
532 
533 On Windows:
534 
535 ```powershell theme={null}
536 winget install Anthropic.ClaudeCode
537 ```
538 
539 Then run `claude --version` to confirm: the command prints a version number such as `2.1.211 (Claude Code)`. If the shell reports `claude` isn't found, open a new terminal window and retry: the session you installed from keeps its old `PATH`.
540 
541506### Wrong install command on Windows
542507 
543508If you see `'irm' is not recognized`, `The token '&&' is not valid`, `A parameter cannot be found that matches parameter name 'fsSL'`, or `'bash' is not recognized as the name of a cmdlet`, you copied the install command for a different shell or operating system. If the command prints the script's text instead of installing anything, you ran only part of it.
from line 594
629594Installation was killed before it could finish (exit code 137). This usually means the system ran out of memory.
630595Claude Code needs roughly 512MB of free memory to install. Free up memory, then run this script again.
631596```
632 
633Before v2.1.200, the script exited with only the shell's bare `Killed` line and no explanation.
634597 
635598Installing needs roughly 512 MB of free memory, and running Claude Code needs more. See the [system requirements](/docs/en/setup#system-requirements).
636599 
Feedback