Install Claude Code and Have Your First Conversation
Install Claude Code and Have Your First Conversation
Claude Code is Anthropic's official terminal agent. You install it once, open a project folder, and talk to it in plain English. It reads your files and edits them.
Install in one line (macOS / Linux / Windows via WSL):
npm install -g @anthropic-ai/claude-code
Then inside any project folder:
claude
First run asks you to authenticate with an Anthropic API key (get one at console.anthropic.com). Cost: pay-as-you-go, typically a few cents per conversation.
Your first agent prompt (try this literally):
Read README.md and tell me in 3 bullets what this project does.
The agent opens the file, summarises it, and answers. That's the loop.
In this lesson, build a quick-start checklist page — the kind of one-pager you'd hand a teammate so they're set up in 5 minutes.
Instructions
Add an <h1> that contains the words "Claude Code"
Hint: `<h1 class="text-4xl font-bold text-white">Claude Code — 5-Minute Setup</h1>`
Add an <ol class="steps"> with at least 3 <li> items (numbered install steps)
Include the literal install command inside a <pre><code> block so readers can copy it
Your Code
Describe what you want to build for this step and I'll write the code — then click Apply to drop it into your editor. This step: Add an <h1> that contains the words "Claude Code"