- Guides
- Tool guides
- Claude Code: install, pricing and plans
Claude Code: install, pricing and plans
Claude Code comes with every paid Claude plan, starting at $20 a month, and installs with one command. Here is what each plan gets, how to install it on Mac or Windows, and how the limits work.
We have no affiliate deal with Anthropic, and nobody paid to appear on this page.
What Claude Code is
Claude Code is Anthropic's coding agent. It reads the files in a project folder, edits them, runs commands and works with git, so you describe a change in plain language and review the result 1. It is not a chat window that hands you code to paste: it does the work on your machine, asking first for anything risky.
It runs in several places that share one engine: the terminal, VS Code and Cursor, JetBrains IDEs, the Claude desktop app and the browser at claude.ai/code 1. Your project settings and instructions carry across all of them. Developers use it for features, bugs and tests. It also works for people who have never coded: Anthropic's beginner guide has it build a simple webpage or rename the screenshots on your desktop from a one-line request 10.
Which plans include it
Every paid Claude plan includes Claude Code; the free plan does not. Anthropic's pricing page says it plainly: "Claude Code is included in all paid plans" 3. What changes from plan to plan is how much you can use it.
| Plan | Price | Claude Code usage | Best for |
|---|---|---|---|
| Free | $0 | Not included 3 | Trying Claude chat |
| Pro | $20, or $17 billed yearly ($200 up front) 3 | More usage than Free, every 5 hours and every week; Opus included | A few focused sessions a week |
| Max | $100 5 | 5x Pro per session and per week; Fable up to 50% of weekly limits 3 | Daily coding |
| Ultra | $200 17 | No five-hour limit for verified accounts; 10x Pro per week | All-day agent work |
| Team Standard | $25 a seat, or $20 billed yearly 3 | More than Pro; Claude Code in every seat 6 | Small teams |
| Team Premium | $125 a seat, or $100 billed yearly 3 | 5x a Standard seat | Developers on a team |
| Enterprise | $20 a seat a month, billed yearly, plus usage at API rates; 20 seats minimum 3 | Billed by use | Larger companies |
Pro, Max, Team and Enterprise all default to Opus 5.5 in Claude Code, and you can switch to Sonnet 5.5 or Haiku 5.5 to make your allowance last longer 13. Fable 5.2, Anthropic's model for demanding reasoning and long-horizon agent work 18, is part of the Max and Ultra limits; on Pro it runs on usage credits 3.
Watch out: the monthly API credits that come with Max and Team plans cannot be spent in Claude Code or the Claude apps 4 6. They are for building your own apps on the API.
Is Claude Code free?
No. The installer is free to download, but Claude Code needs a Pro, Max, Ultra, Team, Enterprise or Console account to run, and "the free claude.ai plan does not include Claude Code access" 2.
The cheapest way in is Pro at $17 a month on yearly billing 3. The alternative is a pay-as-you-go Console account, billed per token at API rates: Opus 5.5 costs $4 per million input tokens and $20 per million output, Sonnet 5.5 $2 and $10 3. Anthropic says enterprise users average about $13 per developer per active day, or $150 to $250 a month 7. For one person coding most days, a subscription is usually the better deal and the bill does not move.
How to install it
Open a terminal, paste one command, then type claude. If you have never used a terminal, the steps below are all you need. If you would rather not touch one, skip to the desktop app option.
Mac (and Linux)
- Open TerminalPress
Cmd + Space, typeTerminaland press Enter. A window with a blinking cursor opens 10. - Paste the install command and press EnterIt shows no progress while it downloads, so wait for "Claude Code successfully installed!" 10
curl -fsSL https://claude.ai/install.sh | bash
If the terminal then says command not found: claude, the installer printed a fix under "Setup notes"; run it, open a new window and try again 10.
Windows
- Optional: install Git for WindowsIt lets Claude Code use Bash; without it, Claude Code uses PowerShell. Accept the default on every installer screen 10.
- Open PowerShellPress
Win + Xand choose Windows PowerShell or Terminal. The line should start withPS10. - Paste the install command and press Enter
irm https://claude.ai/install.ps1 | iex
In the older CMD window, the command is different 2:
curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd
Other ways to install
Homebrew on Mac: brew install --cask claude-code. WinGet on Windows: winget install Anthropic.ClaudeCode. Neither updates itself, so run brew upgrade claude-code or winget upgrade Anthropic.ClaudeCode now and then 2. An npm package also exists and needs Node.js 22 or later; the native installer above needs no Node.js 2:
npm install -g @anthropic-ai/claude-code
Anthropic warns against sudo npm install -g, which can cause permission problems 2.
No terminal: desktop app or editor
The Claude desktop app for Mac and Windows includes Claude Code in its Code tab, so you don't install the command-line tool at all. Sign in, click Code, pick a folder and type a request 11. In VS Code or Cursor, search "Claude Code" in the Extensions view and install it; VS Code 1.94 or later is required 12.
Check it worked
claude --version
A version number means the install worked. claude doctor runs a fuller health check without starting a session 2. You need macOS 13, Windows 10 1809, Ubuntu 20.04 or Debian 10 or later, 4 GB of RAM and an internet connection 2. The native install updates itself in the background; claude update forces it 2.
Your first session
Start Claude Code inside a project folder and log in once.
cd /path/to/your/project
claude
- Log inA browser window opens; sign in with your Claude account. Your login is saved after that 9.
- Ask about the project firstTry a read-only question so you see how Claude reads your files 9.
- Make one small changeWhen Claude asks to edit a file, choose Yes.
Shift+Tabswitches how much it may do without asking 9. - Save the project's rulesRun
/initand Claude writes a CLAUDE.md file with your build and test commands, which it reads at the start of every session 16.
what does this project do?
add a hello world function to the main file
No project yet? Anthropic's beginner guide suggests "make me a simple webpage that says hello world", then opening the HTML file Claude creates 10. Press Esc to stop Claude mid-task, type /help for commands, and exit to leave. Our Claude Code tutorial picks up from here.
Usage limits and credits
Your plan resets every five hours and again every week, and chat and Claude Code draw from the same allowance. Anthropic says activity in both "counts against the same limits" 4. Long sessions, big files and Opus use it faster.
- Check what is left: type
/usage. Subscribers see plan usage bars and a breakdown of what used it, such as skills, plugins and subagents, with suggested fixes 7. - Hitting the wall mid-task: Claude Code shows "Usage limit reached ยท wrapping up" and finishes the reply. On Pro that grace applies once a week; on Max, at each five-hour limit 4.
- Keep going past the limit: turn on usage credits under Settings, Usage on claude.ai, add funds and set a monthly cap. Credits are billed at standard API rates and cover Claude Code 8. In Claude Code,
/usage-creditsopens the same page 7. - Upgrade: a higher plan's limits apply immediately 14.
Tip: if an ANTHROPIC_API_KEY is set on your computer, Claude Code can bill that API key instead of your subscription. To switch back, run /login and sign in with your Pro or Max account 4.
To make the allowance last: clear the conversation with /clear between unrelated tasks, use Sonnet for routine work, and reference files by path instead of pasting them 15. Our guide to Claude usage limits covers the rest.
Questions people ask
How much does Claude Code cost?
It is included with Claude Pro at $20 a month ($17 on yearly billing), Max at $100, Ultra at $200, and Team seats from $20. Without a plan, a Console account bills per token at API rates.
Is Claude Code included in Claude Pro?
Yes. Pro includes Claude Code in the terminal, the desktop app, the web and supported IDEs, with one usage limit shared with Claude chat.
Do I need Node.js to install Claude Code?
No. The recommended native installer, Homebrew and WinGet need no Node.js. Only the npm package does, and it needs Node.js 22 or later.
Can I use Claude Code without the terminal?
Yes. The Claude desktop app has a Code tab that runs Claude Code with a visual diff view, and claude.ai/code runs it in the browser. Both need a paid plan.
Why am I being charged API rates?
Either usage credits are on and you passed your plan limit, or Claude Code is using an API key from your environment. Run /usage to check credit spend, and /login to switch back to your subscription.
Related
New features, explained the week they ship
195,000 readers get Uncover AI's practical AI briefing. We show you what is new and how to use it in your work.
Sources
- Claude Code overview
- Claude Code advanced setup
- Claude pricing
- Using Claude Code with your Pro or Max plan
- What is the Max plan
- Use Claude Code with your Team or Enterprise plan
- Claude Code: manage costs effectively
- Usage credits for paid Claude plans
- Claude Code quickstart
- Terminal guide for new users
- Get started with the desktop app
- Use Claude Code in VS Code
- Claude Code model configuration
- How usage and length limits work
- Models, usage and limits in Claude Code
- How Claude remembers your project
- What is the Ultra plan?
- What's new in Claude Fable 5.2