The whole hunk
from line 18, old and new numbered
/
lines
from line 18
1818| `Raw mode is not supported` during install | [Rerun the installer](#raw-mode-is-not-supported-during-install) |
1919| `TLS connect error` or `SSL/TLS secure channel` | [Update CA certificates](#tls-or-ssl-connection-errors) |
2020| `Failed to fetch version` or can't reach download server | [Check network and proxy settings](#check-network-connectivity) |
21| `irm is not recognized` or `&& is not valid` | [Use the right command for your shell](#wrong-install-command-on-windows) |
21| `irm is not recognized` or `The token '&&' is not a valid statement separator` | [Use the right command for your shell](#wrong-install-command-on-windows) |
2222| `Cask 'claude-code' is unavailable: No Cask with this name exists` | [Update Homebrew](#homebrew-cask-unavailable-or-outdated) |
2323| `'bash' is not recognized as the name of a cmdlet` | [Use the Windows installer command](#wrong-install-command-on-windows) |
2424| `A parameter cannot be found that matches parameter name 'fsSL'` | [Use the Windows installer command](#wrong-install-command-on-windows) |
from line 478
478478
479479### Wrong install command on Windows
480480
481If 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.
481If you see `'irm' is not recognized`, `The token '&&' is not a valid statement separator`, `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.
482482
483483* **`irm` not recognized**: you're in CMD, not PowerShell. You have two options:
484484
from line 494
494494 curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd
495495 ```
496496
497* **`&&` not valid**: you're in PowerShell but ran the CMD installer command. Use the PowerShell installer:
497* **`&&` not a valid statement separator**: you're in PowerShell but ran the CMD installer command. Use the PowerShell installer:
498498 ```powershell theme={null}
499499 irm https://claude.ai/install.ps1 | iex
500500 ```