Guide20 min setup

Set up Claude Code on your Mac

A step-by-step guide to installing and running Claude Code. No coding experience required. You'll have it working in about 20 minutes.

Mac
Computer
20 min
Setup time
0
Code to write
5
Commands to learn

Claude Code is an AI tool from Anthropic that runs directly on your computer. Unlike ChatGPT in a browser, it can read your files, create documents, and take action on your behalf. It runs in the Terminal—the command line app that comes with every Mac.

This guide walks you through everything: opening Terminal, installing Claude Code, and running your first task. Every step includes the exact command to type.

1
Getting Started

Open your Terminal

Terminal is an app that's already on your Mac. It lets you type commands instead of clicking buttons. That's it—nothing scary.

How to open Terminal

Press Cmd + Space to open Spotlight, type Terminal, and press Enter.

You'll see a window with a blinking cursor. That's where you'll type commands.

2
Installation

Install Claude Code

Copy and paste this command into Terminal and press Enter. The installer handles everything—no prerequisites needed.

curl -fsSL https://claude.ai/install.sh | bash

This downloads and installs Claude Code on your machine. It will automatically update in the background to keep you on the latest version.

3
Log In & Launch

Start your first session

Navigate to a folder you want to work in, then start Claude Code:

Go to your Desktop (or any folder)
cd ~/Desktop
Start Claude Code
claude

The first time you run it, you'll be prompted to log in. You can use any of these accounts:

Supported accounts

Claude Pro or Max (recommended) — sign up at claude.ai/pricing

Claude Console — API access with pre-paid credits at console.anthropic.com

Enterprise — Claude Teams, Enterprise, or supported cloud providers (Amazon Bedrock, Google Vertex AI)

Once logged in, your credentials are stored and you won't need to log in again. You'll see a prompt where you can start typing instructions in plain English.

4
Try It

Your first task

Let's do something real. With Claude Code running, try typing:

> List all the files on my Desktop and tell me which ones I haven't touched in the last 30 days

Claude will read through your Desktop files, check the last modified dates, and give you a summary. No copy-pasting file names. No manual sorting.

Here are a few more things to try:

> Summarize every PDF in this folder
> Create a spreadsheet of all the contacts in these CSV files
> Find all files larger than 10MB and tell me what they are
> Read this contract and list the key terms and deadlines

Just describe what you want in plain English. Claude will figure out the steps.

5
Reference

The only 5 Terminal commands you need

You don't need to become a Terminal expert. These five commands are all you need to navigate your computer and use Claude Code effectively.

pwd
Print Working Directory
Shows you where you currently are. Like checking the address on a building.
ls
List
Shows all files and folders in your current location. Like opening a folder in Finder.
cd folder-name
Change Directory
Moves you into a folder. Like double-clicking a folder in Finder.
cd ..
Go Up
Go up one level. Like clicking the back button.
claude
Start Claude Code
Launches Claude Code in your current folder. It can see everything here.

Quick cheat sheet

Want to work with files on your Desktop? cd ~/Desktop

Want to work in your Documents? cd ~/Documents

Want to work in your Downloads? cd ~/Downloads

Lost? pwd tells you where you are. ls shows what's here.

You're set up

That's everything. You now have Claude Code installed and running on your Mac. The key idea: navigate to a folder with cd, type claude, and describe what you want done.

Claude Code can read any file in the folder you launched it from
It can create new files, spreadsheets, and reports
It can process dozens or hundreds of files at once
Everything stays on your computer — nothing is uploaded to the cloud
A
Ankit Gordhandas
Founder, Eigenomic

Want to go deeper?

I run a bootcamp for executives who want to build real automations on their actual business data. Small cohort, four weeks, you leave with a working automation.

Schedule a Conversation