Quick Start & Installation
Claude Code installs in under a minute and works on Mac, Windows, and Linux. This lesson walks you from zero to your first working session in four steps.
Before You Start
You need three things. All of them are free.
A Claude account
A free account at claude.ai is all you need. Claude Code opens your browser on first run to log you in.
Sign up free at claude.ai →A terminal
Terminal on Mac/Linux, PowerShell or Command Prompt on Windows. No other dependencies are required — the installer handles everything.
Install Claude Code
Pick your platform. Anthropic's native installer sets everything up with one command — no Node.js or package managers required.
macOS, Linux, WSL:
Windows PowerShell:
Windows CMD:
After the install finishes, open a new terminal window and run claude --version to confirm it worked.
Authenticate
Run claude for the first time. It will open your browser automatically so you can log in with your Claude account. You only do this once.
What the browser shows
Authorize Claude Code
Claude Code is requesting access to your Claude account. This lets it use Claude on your behalf from the terminal.
You will be redirected back to your terminal.
Navigate to a Project
Claude Code works inside a specific folder — it reads all the files in that folder. Navigate to any existing project or create a fresh one.
claude from inside your project folder — not from your home directory. Claude uses the current folder as its workspace.Your First Task
Give Claude a simple, concrete instruction. Here is a great first task to confirm everything is working: ask it to create a file.
Check your folder — hello.txt will be there.
What just happened
Claude created a real file on your machine — not a preview, not a copy-paste.
It then read the file back to verify the content was written correctly.
You communicated in plain English — no commands, no syntax to learn.
Common Issues
If something does not work, check these first.
curl: command not found (Windows CMD)curl ships with Windows 10 build 1803+. If you are on an older version, use the PowerShell or WinGet install method instead.
Permission denied / cannot write to /usr/localOn Mac/Linux, the installer may need elevated permissions. Run it with sudo.
$ curl -fsSL https://claude.ai/install.sh | sudo bashcommand not found: claudeThe installer's bin folder is not in your PATH. Open a new terminal window — it usually picks up the PATH change automatically. If not, add the install path manually.
Browser did not open for authRun the login command manually.
$ claude auth loginYou Are Ready
- ✅Claude Code is installed globally on your machine.
- ✅You are authenticated with your Claude account.
- ✅You have run your first session and created a file.
- →Next up: how Claude Code actually works under the hood — reading files, running tools, and managing context.
What's Next
Claude Code is installed and running. Next: understand what's actually happening under the hood when you send it a task.