zsh: command not found: claude
Any systemFirst runClaude installed, but your terminal can’t find it
What it means: The install usually worked. Your terminal just doesn’t know which folder the new program is in yet, because the window you installed from still has the old settings.
What to do: Close the terminal and open a new window, then try again. If it still can’t find Claude, the install folder needs to be added to your PATH. Follow Anthropic’s step-by-step PATH fix for your system.
Anthropic’s official fix →
syntax error near unexpected token '<'
Any systemInstallThe installer downloaded a web page instead of the install script
What it means: The install address sent back a web page, so your terminal tried to run HTML as code. This happens with regional blocks, some networks and proxies, or a temporary outage.
What to do: If the page mentioned “App unavailable in region,” Claude Code isn’t available in your country. Otherwise, try a different network, or use one of the alternative install methods Anthropic lists.
Anthropic’s official fix →
curl: (22) The requested URL returned error: 403
Any systemInstallThe download was blocked (403)
What it means: The server refused the download. Common causes are being in an unsupported country, or a company firewall or proxy blocking it.
What to do: Check you’re in a supported country, then check your network with IT if you’re on a work connection. Anthropic’s page covers network checks and alternative installers.
Anthropic’s official fix →
curl: (56) Failure writing output to destination
Any systemInstallThe download was cut off partway
What it means: The install script didn’t arrive in full, usually because the connection dropped.
What to do: Try again on a stable connection. If it keeps happening, Anthropic’s page shows how to test the connection and lists other install methods.
Anthropic’s official fix →
Killed
LinuxInstallThe computer ran out of memory during install
What it means: Linux stopped the installer because the machine didn’t have enough free memory. Claude Code needs at least 4 GB of RAM.
What to do: Close other programs or use a machine with more memory, then try again. Anthropic’s page explains adding swap space on small servers.
Anthropic’s official fix →
Raw mode is not supported
Any systemInstall“Raw mode is not supported” during install
What it means: The installer was run somewhere that isn’t a normal interactive terminal.
What to do: Run the installer again from a regular terminal window. Anthropic’s page has the details.
Anthropic’s official fix →
EACCES: permission denied
Any systemInstallPermission denied while installing
What it means: The installer tried to write to a folder your user account isn’t allowed to change. This is most common with the npm install method.
What to do: Don’t try to force it with administrator rights. Anthropic recommends fixing the folder’s permissions or switching to the native installer instead.
Anthropic’s official fix →
TLS connect error
Any systemInstallSecure connection (TLS/SSL) error
What it means: Your computer couldn’t verify the download’s security certificate. This usually happens on company networks that inspect traffic, or on systems with outdated certificates.
What to do: On a work network, ask IT for the company certificate setup. Otherwise, update your system. Anthropic’s page has the specifics.
Anthropic’s official fix →
Failed to fetch version
Any systemInstallCan’t reach the download server
What it means: Your network or a proxy is blocking the connection to Anthropic’s download servers.
What to do: Try another network, or check proxy settings with IT. Anthropic lists exactly which addresses need to be reachable.
Anthropic’s official fix →
'irm' is not recognized
WindowsInstallYou used the install command for a different window type
What it means: Windows has two command windows, PowerShell and Command Prompt (CMD), and each needs a different install command. Mac and Linux commands don’t work in either.
What to do: Check your prompt: PowerShell shows “PS” at the start, Command Prompt doesn’t. Then use the command Anthropic lists for that window.
Anthropic’s official fix →
Cask 'claude-code' is unavailable
MacInstallHomebrew can’t find Claude Code
What it means: Your copy of Homebrew’s app list is out of date, so it doesn’t know about Claude Code yet.
What to do: Update Homebrew’s list, then install again. Anthropic’s page shows how.
Anthropic’s official fix →
Claude Code on Windows requires either Git for Windows (for bash) or PowerShell
WindowsFirst runClaude Code can’t find a shell to use on Windows
What it means: Claude Code needs either PowerShell or Git for Windows to run commands, and it couldn’t find either.
What to do: Anthropic’s page explains which one to install and how to point Claude Code at it.
Anthropic’s official fix →
Claude Code does not support 32-bit Windows
WindowsInstallYou opened the 32-bit version of PowerShell
What it means: Windows includes an older “x86” version of PowerShell. Claude Code needs the regular 64-bit one.
What to do: Open the regular “Windows PowerShell,” not the one labeled “(x86),” and try again.
Anthropic’s official fix →
The process cannot access the file
WindowsInstallA file is locked by another program
What it means: Something else, often an earlier install attempt or antivirus, has the file open.
What to do: Close other terminal windows and try again. Anthropic’s page explains clearing the leftover download.
Anthropic’s official fix →
Error loading shared library
LinuxFirst runWrong build for your Linux system
What it means: The installed version doesn’t match your Linux system’s core libraries. This is common on Alpine and other musl-based systems.
What to do: Anthropic’s page explains how to get the right build and which extra packages Alpine needs.
Anthropic’s official fix →
Illegal instruction
Any systemFirst runYour processor can’t run this build
What it means: The installed version was built for a different kind of processor, or your CPU is missing a feature it needs.
What to do: Anthropic’s page explains how to check your processor type and get the matching build.
Anthropic’s official fix →
cannot execute binary file: Exec format error
WSLFirst runClaude Code won’t start in WSL 1
What it means: Recent versions have a known problem on WSL 1, the older version of Windows Subsystem for Linux.
What to do: Anthropic recommends WSL 2 where possible and explains the options on its page.
Anthropic’s official fix →
Bus error
LinuxRunningClaude Code crashed mid-session
What it means: The program file changed or became unreadable while Claude Code was running. This mostly happens when home folders live on shared network storage.
What to do: Anthropic’s page explains how to install so the program stays available during a session.
Anthropic’s official fix →
dyld: Symbol not found
MacFirst runThe Mac version doesn’t match your macOS
What it means: The installed build isn’t compatible with your version of macOS. Claude Code needs macOS 13 or later.
What to do: Check your macOS version, then follow Anthropic’s fix for reinstalling the right build.
Anthropic’s official fix →
claude update hangs
Any systemUpdate“Checking for updates” never finishes
What it means: A folder in the way of one of Claude Code’s settings paths makes the update check hang.
What to do: Anthropic’s page explains which folder to look for and how to move it.
Anthropic’s official fix →
running scripts is disabled on this system
WindowsFirst runPowerShell is blocking scripts
What it means: Windows’ script policy is stopping the npm version of Claude Code from starting.
What to do: Anthropic’s page explains the safe way to allow it, or you can switch to the native installer, which avoids this.
Anthropic’s official fix →
Error: claude native binary not installed
Any systemFirst runThe npm install didn’t finish setting up
What it means: npm installed the package but skipped the part that downloads the actual program.
What to do: Anthropic’s page explains how to complete the install, or you can use the native installer instead.
Anthropic’s official fix →
npm error code ENOTEMPTY
Any systemUpdatenpm update failed because of leftover files
What it means: A leftover folder from an earlier install is blocking npm.
What to do: Anthropic’s page explains which folder to remove before trying again.
Anthropic’s official fix →
'claude' is not recognized right after an update
WindowsUpdateClaude disappeared right after an update on Windows
What it means: The update was interrupted while replacing the program file.
What to do: Anthropic’s page explains how to restore it from the backup the updater leaves behind.
Anthropic’s official fix →
App unavailable in region
Any systemInstallClaude Code isn’t available in your country
What it means: Anthropic only offers Claude Code in supported countries.
What to do: Check Anthropic’s list of supported countries.
Anthropic’s official fix →
OAuth error
Any systemSign-inSign-in failed
What it means: Claude Code couldn’t sign you in. Most often the account isn’t on a plan that includes Claude Code (it needs Pro, Max, Team, Enterprise, or a Console account; the free plan doesn’t include it), or the browser sign-in didn’t complete.
What to do: Check your plan, then try signing in again. Anthropic’s page covers the other causes.
Anthropic’s official fix →
Claude Code access has not been granted for this account
Any systemSign-inYour organization hasn’t given you Claude Code access
What it means: On a Team or Enterprise plan, your role doesn’t include Claude Code.
What to do: Ask your Claude admin for a role that includes Claude Code.
Anthropic’s official fix →
Unable to connect to Anthropic services
Any systemSign-inCan’t connect to Anthropic
What it means: Claude Code couldn’t reach Anthropic’s servers, usually because of a network, proxy, or firewall issue.
What to do: Try a different network or check with IT. Anthropic’s error reference has the full checklist.
Anthropic’s official fix →
Searched in your browser. Nothing you paste is sent or saved.