Troubleshooting
On the day, just grab a staff member at the venue and we’ll look at it together. Here are the common places people get stuck.
claude: command not found / 'claude' is not recognized
Section titled “claude: command not found / 'claude' is not recognized”This is when the install finished but the command isn’t found. Usually it’s just waiting for PATH to take effect, so close your terminal and open it again first.
If that doesn’t fix it, run the same install steps again, or check the official install troubleshooting guide.
The install command errors on Windows
Section titled “The install command errors on Windows”Almost always the wrong shell.
The token '&&' is not a valid statement separator→ this is PowerShell. Useirm https://claude.ai/install.ps1 | iex.'irm' is not recognized as an internal or external command→ this is CMD. Usecurl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd.
If the prompt reads PS C:\ it’s PowerShell; if it’s C:\ with no PS, it’s CMD.
version 2.1.251 or newer is required
Section titled “version 2.1.251 or newer is required”If your Claude Code is out of date, selecting Fable 5.1 fails with this error.
API Error: 400 Claude Code 2.1.239 does not support this model; version 2.1.251 or newer is required.Update with claude update (or winget upgrade Anthropic.ClaudeCode for the winget version, brew upgrade claude-code for Homebrew). See Installing Claude Code for details.
The API key I set isn’t being used
Section titled “The API key I set isn’t being used”Did you press Enter straight through the Do you want to use this API key? question at first startup? No (recommended) is selected by default. Once you answer No it is remembered, so the key is not used even after you set it.
To redo it, remove that key’s entry from rejected under customApiKeyResponses in ~/.claude.json and start claude again. You will be asked once more — this time choose Yes.
Can’t log in / not sure which account is in use
Section titled “Can’t log in / not sure which account is in use”Run /login while Claude Code is running to log in again or switch accounts. /usage also shows the current state.
If an API key is set, it takes priority over your login. If you want to run with your login instead, delete .claude/settings.json in your working folder. If you’ve set the ANTHROPIC_API_KEY environment variable in the past, check that it isn’t still there either (First run).
Note that if you set an API key on a machine already logged in to claude.ai, you get a Both claude.ai and ANTHROPIC_API_KEY set · auth may not work as expected warning — but the API key wins and it works normally. If the top of the screen shows API Usage Billing, you are running on API credits.
Credit balance is too low
Section titled “Credit balance is too low”Your API credit balance is too low. If you haven’t requested credits yet, see How to get API credits. Even after requesting, it takes a little while for them to be granted. If you’re in a hurry, buy credits yourself or ask a staff member.
The conversation is getting long, slow, and expensive
Section titled “The conversation is getting long, slow, and expensive”Reset the conversation with /clear. It helps most when you move on to work on a different topic. See Spending limits and costs for details.
Anything else
Section titled “Anything else”- Official docs: code.claude.com/docs
- Self-diagnosis for your environment: run
claude doctorin the terminal