Most people meet AI through a chat window: you type a question, you get an answer, and then you copy the answer somewhere useful. Claude Code (the "Claude CLI") flips that around. You run one command in a project folder and Claude can read your files, search your code, run commands, and edit things, all while you watch and approve. It is less like asking a librarian a question and more like handing a capable colleague the keys to your workshop and saying "let's fix this together."
This week we'll get it installed on Windows and macOS, learn the handful of commands you will use every day, and talk honestly about what it is, and what it isn't.
Rough cost of each plan (US dollars; see claude.com/pricing for current numbers):
| Plan | Approx. cost | Notes |
|---|---|---|
| Free | $0 | Does not include Claude Code |
| Pro | $20/month ($17/month billed annually) | The usual starting point for individuals. This is the plan I use |
| Max | From $100/month | 5x or 20x the Pro usage, for heavy daily use |
| Team | $25/seat/month standard ($20 billed annually), $125/seat premium | Shared billing for a group |
| Enterprise | $20/seat/month billed annually (20-seat minimum), plus usage at API rates | For larger organizations |
| Console (API) | Pay as you go, billed per token | No subscription; cost depends on how much you use |
Claude Code shares your plan's usage limits with chat, so a heavy coding day can hit them. That's when people step up to Max or switch to pay-as-you-go.
You do not need Node.js, and you don't need administrator rights on Windows.
Open Terminal and paste:
curl -fsSL https://claude.ai/install.sh | bash
Prefer Homebrew? That works too:
brew install --cask claude-code
The native installer updates itself in the background. Homebrew installs do not, so run brew upgrade claude-code now and then.
Open PowerShell and paste:
irm https://claude.ai/install.ps1 | iex
Or, if you like WinGet:
winget install Anthropic.ClaudeCode
(WinGet installs don't auto-update either: run winget upgrade Anthropic.ClaudeCode occasionally.)
Using the old-style Command Prompt instead? Use this one-liner there:
curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd
Tip: If PowerShell complains that
&&isn't a valid statement separator, you pasted the CMD command into PowerShell. If it saysirmisn't recognized, you pasted the PowerShell command into CMD. Look at your prompt:PS C:\>means PowerShell.
Close the terminal, open a fresh one, and run:
claude --version
You should see a version number. If your shell says claude can't be found, the install folder isn't on your PATH yet, and the official troubleshooting guide walks through the fix. For a deeper health check, run claude doctor.
Go to a folder you want to work in, then start Claude:
cd my-project
claude
The first time, it opens a browser window so you can sign in. After that you land in an interactive prompt. Just type in plain English:
What does this project do? Give me a quick tour of the main files.
Claude will read the files it needs and answer. Try something small next, like "add a --verbose flag to the script". Before it changes a file or runs a command, it asks permission. You see exactly what it wants to do and you say yes or no. That approval step is the heart of the whole tool.
Type / at the start of the prompt and Claude shows every command available. These are the everyday ones:
| Command | What it does |
|---|---|
/help |
Lists available commands and help |
/init |
Scans your project and writes a CLAUDE.md file, a cheat sheet Claude reads at the start of every session |
/clear |
Wipes the conversation and starts fresh. Use it when you switch tasks |
/compact |
Summarizes a long conversation to free up room, without starting over |
/context |
Shows how full Claude's working memory is, and what's filling it |
/model |
Switch which Claude model you're using |
/resume |
Pick up a previous conversation where you left off |
/rewind |
Roll the conversation and the file edits back to an earlier point. A true undo button |
/permissions |
See and change what Claude is allowed to do without asking |
/memory |
Edit your CLAUDE.md memory files |
/review |
Review your code changes |
/cost |
Show how much you've used this session |
/config |
Open the settings screen |
/doctor |
Check your setup and offer to fix problems |
/login |
Sign in to your account |
/exit |
Quit (Ctrl+D works too) |
/ at the start runs a command, as above.! at the start runs a shell command directly, with no AI involved, and adds the output to the conversation. !git status shows Claude what you're looking at.@ mentions a file. Type @ and start a filename, then press Tab to autocomplete. Claude reads it.And the keys:
Esc stops Claude mid-thought so you can redirect. It keeps the work done so far.Esc twice on an empty prompt opens the rewind menu.Shift+Tab cycles permission modes: normal (ask every time), accept edits, and plan mode, where Claude explores and proposes a plan but changes nothing until you approve it. (On Windows, if Shift+Tab doesn't register, try Alt+M.)Ctrl+C interrupts a running operation; press it again at an empty prompt to quit.Run /init once and Claude writes a CLAUDE.md file in your project. Edit it freely. It's where you put the things you'd otherwise repeat every day: "we use tabs, not spaces," "never edit the generated files," "tests run with npm test." Claude reads it at the start of every session, so it behaves like a teammate who remembers your house rules. This one file is the biggest quality jump for the least effort.
Claude Code works fine on plain Windows. Without anything extra it runs commands through PowerShell. But it was born in a Linux-and-Mac world, and a lot of its instincts are shell tools like grep, sed, awk, find, head, and tail. Give it those on Windows and things go smoother, especially for searching and text-munging.
There are two good ways to do that:
Install Git for Windows (free, optional but recommended). It includes Git Bash, and when it's installed Claude Code automatically uses Bash for its shell tool. It also gives you git itself, which you want anyway. If Claude can't find it, point to it in your settings.json:
{
"env": {
"CLAUDE_CODE_GIT_BASH_PATH": "C:\\Program Files\\Git\\bin\\bash.exe"
}
}
Use WSL (Windows Subsystem for Linux). Run wsl --install in an admin PowerShell, then install and run claude inside the Linux terminal. You get a full Linux environment and Claude's sandboxing support.
I also keep a folder of GNU tools compiled for Windows (grep, sed, awk, curl, tar, less and friends) on my PATH in D:\bin. That's a convenient trick for running those tools from a plain PowerShell or CMD window, but honestly, Git for Windows already covers the same ground and is the easier route. Reach for a standalone tool folder only if you want those commands available everywhere rather than just inside Claude.
Let's address the elephant in the terminal. Every few months a headline announces that AI is coming for programmers, writers, or whoever's turn it is. I use Claude every day, and here is my honest take: it is a power tool.
A table saw makes a carpenter faster and more ambitious. It does not decide what to build, check whether the house should have a second floor, or take responsibility when something goes wrong. Claude is the same:
The people who benefit most aren't the ones who hand over their brain. They're the ones who learned what to ask for.
A few real examples from my own work, so you can picture it:
/clear between unrelated tasks so old context doesn't muddy new work./init and keep CLAUDE.md current.Install it, open a project you know well, and ask this: "Give me a tour of this project, and tell me one thing you'd improve." Then argue with the answer. Disagreeing with Claude is half the fun, and it's how you learn where it's strong and where you still need to be the expert.
P.S. — Claude Code also runs inside VS Code and JetBrains editors, in a desktop app, and on the web, all from the same account. Once the terminal version feels comfortable, the rest is a short hop. The full documentation is excellent.
Tell us what you learned from this article, or what you liked about it. We read every comment.
Know someone who'd love it too?