← All courses Claude Code Setup Guide

Common mistakes during setup

Find your symptom and apply the fix. Almost every problem is one of three things: a tool isn't in the PATH yet (your computer doesn't know where it is), you're signed in with the wrong account, or Git doesn't know who you are.

The fastest fix of all: copy the error message word for word into Claude Code and ask "What does this mean and how do I fix it?". It's very good at that.


Account and billing

When I click "Code", the app asks me to upgrade, or my plan says "Free"

  • You're signed in with an account that doesn't have a paid plan, or the payment hasn't gone through yet. Sign out and sign back in with the paid account. If you only just subscribed, wait a few minutes and restart the app.

It says I'm paying per use, or it mentions API credits

  • This happens when you use Claude Code in the Terminal and an ANTHROPIC_API_KEY is set on your computer. Claude Code then bills through that key instead of your subscription. That costs extra. The app itself signs in through your account and doesn't use the key.
    • Check: Ask Claude Code "Is ANTHROPIC_API_KEY set on my computer?"
    • Remove (Mac): Usually a line in ~/.zshrc or ~/.zprofile. Have Claude Code find and remove the line export ANTHROPIC_API_KEY=..., then restart the app.
    • Remove (Windows): Start, search for "Edit environment variables for your account", delete ANTHROPIC_API_KEY, sign out and back in.

Git

"Author identity unknown" or Git won't let me commit

  • Git doesn't know your name and email address yet:
    Copy this
    git config --global user.name "Your Name"
    git config --global user.email "[email protected]"
    

"git: command not found", right after installing

  • Close the Terminal and the Claude app and open both again so they find the newly installed tool.

Mac: An Apple window opens and asks about developer tools

  • That's exactly right, confirm it. Git is part of that package. The installation takes a few minutes and needs an internet connection.

Mac: xcode-select --install says the tools are already installed, but Git is still missing

  • Then the installation is probably old or incomplete. Go to Lesson 3: Set up a package manager, do Homebrew first, then install Git with brew install git.

The package manager

Mac: "command not found: brew", even though I installed Homebrew

  • Homebrew isn't in the PATH yet. Close the Terminal, open it again and try brew --version. If it's still missing: at the end, the installer printed two lines that start with eval. Run those, then open the Terminal again.

Mac: It asks for a password, but nothing happens when I type

  • Normal. macOS doesn't show passwords. Type it and press Enter.

Windows: "winget is not recognized"

  • Open the Microsoft Store, search for App Installer, install or update it. Then open the Terminal again.

Your own configuration

I can't find the .claude folder

  • It starts with a dot, so it's hidden. In the Mac Finder, you show hidden files with Cmd+Shift+.. Or just have Claude Code open it for you. Path: Mac ~/.claude/, Windows C:\Users\yourname\.claude\.

Claude doesn't follow my CLAUDE.md

  • Check that the file is at the global path above and not buried inside a single project. Then start a new chat. The settings are loaded when a chat starts.

Your quote agent

Claude doesn't know my agent

  • Almost always the same reason: the ~/.claude/agents folder was only created during your current session. A running session doesn't notice that. Close Claude Code completely and open it again, and it's there.
  • If it's still missing after that, have it show you the file: "Show me the content of ~/.claude/agents/angebot.md." The top block between the two lines of three dashes must contain name: and description:.

The agent never kicks in on its own

  • The description line in the agent file is too vague. It's the only thing Claude uses to recognize when the agent is in charge. It has to contain the words you use. If you say "estimate" instead of "quote", that needs to be in there.
  • Quick fix for the moment: put @agent-angebot in front of your sentence. That forces it.

The agent can't find my KONTEXT.md file

  • The agent file contains a fixed path to your project. If you moved or renamed the folder, it points to nothing. Tell Claude: "Fix the path in my 'angebot' agent to the new location."

The quote includes services or prices I don't offer

  • Information is missing from KONTEXT.md, so Claude fills the gap. Add the missing information and state explicitly: "Don't invent any services. If it's not listed here, it doesn't exist."

The tone is off

  • Describing the tone only helps so much. Put a real quote of yours into the project folder and tell Claude to match its tone to that.

I broke something and want to go back

  • That's what Git is for. Ask Claude Code: "Show me my last commits and restore the version from earlier."

Connections to other apps

The connector won't connect or the login fails

  • Confirm the login in the connector's own window, not in the chat. If it keeps failing: remove it and add it again. Check that you used the right account for that service.

I can't find "Connectors"

  • They're in the left sidebar under Customize, no longer in the settings. If the item is missing, update the Claude app to the latest version and restart it.

Permissions and general issues

Claude keeps asking "Can I run this?"

  • That's the safety check, and it's supposed to be there. Read the command quickly. If it fits the step you're doing right now, allow it. Usually you can allow it for the rest of the session, then it asks less often. How often it asks in general is something you set in the input field. To start with, keep the setting where it asks before making changes.

A download stops or hangs

  • Usually a company VPN, a firewall or a proxy. Try a private network or ask your IT team to allow claude.com, brew.sh and github.com.

After installing, everything seems broken

  • The surprisingly most common fix: quit and reopen the Claude app completely and close and reopen all Terminals, so newly installed tools are found.