You install Claude Code on a Mac by opening the Terminal app, pasting the install command from Anthropic's official page, and pressing Return. When it finishes, you open a new Terminal window, go to a project folder, type claude, and sign in through your browser. For most people this takes a few minutes, though it depends on your internet speed and your Mac.
What do I need before I start?
You need three things:
- A Mac that meets the current requirements. Check the requirements on the official page at https://claude.com/claude-code, because they change over time.
- An internet connection.
- A Claude account that can use Claude Code. Plans and pricing change, so check the current pricing and what each plan includes on the official page before you pay for anything.
You do not need to know how to code. You do need to be willing to type a few lines into Terminal, which is the app on your Mac where you give the computer instructions by typing. It looks plain, but it is just a text box.
How do I install Claude Code, step by step?
- Open Terminal. Press Command and the space bar, type
Terminal, and press Return. A window with a blinking cursor opens. - Copy the install command from the official page. Go to https://claude.com/claude-code and find the Mac install instructions. Always copy from the official page, not from a blog post or a video, including this one. Commands can change, and you should never paste something into Terminal from a source you don't trust. At the time of writing, the command looks like this:
curl -fsSL https://claude.ai/install.sh | bash. In plain terms, it downloads Anthropic's installer and runs it. - Paste it into Terminal and press Return. Command and V pastes. You will see text scroll by. Wait until you get your cursor back.
- Close Terminal and open a new window. This lets your Mac find the new program.
- Check that it worked. Type
claude --versionand press Return. If you see a version number, you are done.
How do I start Claude Code for the first time?
Claude Code works inside a folder on your computer, so give it one to work in.
- In Terminal, type
mkdir my-first-projectand press Return. This makes a new folder. - Type
cd my-first-projectand press Return. This moves you into that folder. - Type
claudeand press Return. - Your browser opens and asks you to sign in to your Claude account. Approve it, then return to Terminal.
- Claude Code may ask whether you trust the folder. Since you just made it, say yes.
Now you can type what you want in plain English, like "make a simple one-page website about my dog walking business."
What if Terminal says "command not found"?
This is the most common snag. It usually means your Terminal window opened before the install finished, so it doesn't know about the new program yet.
- Close Terminal completely, open it again, and retry
claude --version. - If it still fails, run the install command again and read the last few lines of output. They usually say what went wrong or where the program was placed.
- Still stuck? Copy the exact error message and paste it into a regular Claude chat. Ask it to explain what the message means for a beginner on a Mac.
Are there other ways to install it?
Yes. The official page lists a few. Here is how they compare in general terms.
| Method | Good for | Catch |
|---|---|---|
| Installer command (above) | Most beginners | You paste one line into Terminal |
| Homebrew | People who already use Homebrew, a Mac tool for installing software | You have to install Homebrew first |
| npm | Developers who already have Node.js, a common programming tool | Extra setup that beginners don't need |
If you have never used any of these, use the installer command. Fewer moving parts means fewer things to go wrong.
Is it safe to run on my computer?
Claude Code can read files in the folder you start it in, change them, and run commands. By default it asks your permission before it does those things. Read each request before you approve it. Start in a fresh, empty folder like the one above, not in your Documents or Desktop folder, until you are comfortable with how it behaves.
What should I do after it is installed?
Give it one small, real task and watch what it does. Ask for something you can see, like a web page, and then ask for changes in plain English. The first session is mostly about getting used to the back and forth.
If you want a simple starting point, I wrote a free guide called "3 Prompts That Ship Code" that walks through how to ask for what you want. You can get it at https://aibuiltbyyou.com/resources.