Claude Code is Anthropic's agentic coding tool for terminal, IDE, desktop, and web. What it does, what it costs, how to install it, and how to work with it.
In This Article
9 sectionsWhat is Claude Code? It is Anthropic's agentic coding tool: an AI agent that works in your terminal, IDE, or browser, reads your codebase, edits files, runs commands, and opens pull requests while you review the diffs. It requires a paid Claude plan or API credits — there is no free tier.
This guide is the overview: what the tool actually is, the five places it runs, what it costs, the core workflow, the extension ecosystem, and the errors you'll hit first. We build and maintain this site with Claude Code daily, so everything below is written from use, not from the marketing page.
What is Claude Code, and how is it different from chat AI?
Chat AI answers questions; Claude Code does work. Ask a chat assistant about a bug and you paste code in, read a suggestion, and apply it yourself. Claude Code inverts that loop: it runs inside your project, finds the relevant files on its own, makes the edits, runs your tests to check itself, and hands you a diff to approve or reject.
Anthropic calls this agentic coding, and after more than a year of daily use we think the label is earned. Three differences from chat AI matter in practice:
- It has hands. Claude Code reads files, executes shell commands, searches your codebase, runs builds and test suites, and drives git. Chat models describe work; this one performs it — with your approval required at each consequential step, a gate you can relax by turning on automode once you trust a task.
- It carries context. Recent Claude models accept up to 1 million tokens of context, and the agent gathers what it needs by itself. No copy-pasting files into a chat box, no explaining your folder structure.
- It iterates. When a test fails or the build breaks, Claude Code reads the error output and tries again — the same feedback loop a human developer runs, just faster.
One boundary worth drawing early: Claude Code is built for code and repositories. If your day is documents, spreadsheets, and slide decks rather than pull requests, Anthropic's sibling product Claude Cowork brings the same delegate-and-review model to general knowledge work — we cover it in What Is Claude Cowork?
The five environments: terminal, VS Code, JetBrains, desktop, and web
Claude Code launched as a terminal-only tool in 2025. By mid-2026 it runs in five environments, all driving the same agent underneath — you pick by where you already work.
| Environment | Where it runs | Best for | Requires |
|---|---|---|---|
| Terminal CLI | Any shell (macOS, Linux, Windows) | Full control, servers, scripting, automation | Node.js 18+, paid plan or API key |
| VS Code extension | Inside VS Code | Inline diffs next to your editor | VS Code, plus the same account |
| JetBrains plugin | IntelliJ, PyCharm, WebStorm, etc. | IDE-centric Java/Python/JS teams | A JetBrains IDE, plus the same account |
| Desktop | Claude Desktop app | Running parallel local sessions with a GUI | Claude Desktop, paid plan |
| Web | claude.ai/code in any browser | Delegating tasks to cloud sandboxes from anywhere | Paid plan; no local install |
Our advice after using all five: learn the terminal version first. It is the reference implementation — every feature lands there before anywhere else — and the IDE extensions reuse its login and configuration. The web version at claude.ai/code is the one we use for fire-and-forget tasks: it runs each session in an Anthropic-managed cloud sandbox and hands back a pull request when it finishes.
If you're weighing Claude Code against an AI-first editor instead, that's a genuinely different trade-off — an agent that visits your existing tools versus an IDE rebuilt around AI — and we've written the full comparison in Cursor vs Claude Code.
Installing Claude Code and signing in
Setup takes about two minutes. The terminal version needs Node.js 18 or newer, then one command:
npm install -g @anthropic-ai/claude-code
Open a terminal in a project folder and run claude. On first launch it sends you to your browser to authenticate, and the choice you make there matters:
- Sign in with a Claude account (Pro or Max plan) for predictable monthly pricing.
- Sign in with Anthropic Console to bill per token from API credits instead.
The VS Code and JetBrains extensions install from their respective marketplaces and reuse the CLI's credentials; the web version needs no installation at all.
The first thing worth adding to any project is a CLAUDE.md file at the repository root. The agent reads it at the start of every session, so project conventions, build commands, and constraints written there stop being things you re-explain. We're publishing a separate step-by-step Claude Code installation guide that covers Windows, macOS, and Linux quirks in detail.
Is Claude Code free? What it costs in 2026
Claude Code has no separate price tag — it rides on your Claude plan or your API bill. It also has no free tier: Claude's free plan covers chat only, so the honest answer to "is Claude Code free" is no, with Pro at $20/month as the cheapest entry point.
| Plan | Price | Claude Code usage | Best for |
|---|---|---|---|
| Free | $0 | None — chat only | Trying Claude, not Claude Code |
| Pro | $20/month | Entry-level caps, Sonnet-focused | Individual developers, a few focused hours a day |
| Max 5x | $100/month | ~5× Pro limits, comfortable Opus use | Daily heavy use |
| Max 20x | $200/month | ~20× Pro limits | All-day agentic work, parallel sessions |
| API | Per token | Uncapped, pay-as-you-go | Teams, CI pipelines, spiky usage |
Two numbers put API billing in perspective. Claude Sonnet 5 costs $2 per million input tokens and $10 per million output tokens at introductory pricing (until August 31, 2026; $3/$15 after), while Claude Opus 4.8 costs $5/$25. A single heavy agentic session can burn millions of tokens, so subscriptions are usually the better deal for individuals — the API wins when usage is spiky, shared across a team, or wired into automation.
How to use Claude Code: plan, delegate, review
The mechanics take an afternoon to learn; the judgment takes longer. Here is the loop we run dozens of times a day:
- Describe the outcome, not the steps. "Add rate limiting to the login endpoint — 8 attempts per 15 minutes per email" beats a file-by-file instruction list. The agent is better at finding the right files than you are at remembering them.
- Start non-trivial work in plan mode. Plan mode makes Claude Code propose an approach — files to touch, order of operations, risks — before it edits anything. Approving a plan is far cheaper than unwinding a wrong implementation.
- Let it work, and watch. The agent narrates its tool calls as it goes: files read, commands run, edits made. You can interrupt and redirect at any point.
- Review the diff like a pull request. This is the non-negotiable step. Claude Code is good; it is not infallible. Everything it writes should pass the same review bar as a colleague's PR.
- Commit small and often. Small commits keep any misstep cheap to revert.
That review discipline is the whole game. Teams that treat Claude Code as autocomplete-with-extra-steps see modest gains; teams that delegate whole tasks and review rigorously change how they ship. We're writing a full Claude Code tutorial for beginners that walks this loop end to end on a real feature.
Skills, plugins, MCP, subagents, and hooks
Out of the box, Claude Code is a general-purpose coding agent. Five extension mechanisms specialize it to your team and stack:
| Extension | What it does | Example |
|---|---|---|
| Skills | Packaged instructions the agent loads on demand for a specific job | A deploy skill encoding your release checklist |
| Plugins | Bundle skills, commands, and agents for one-command install | A team-wide code-review plugin |
| MCP servers | Connect external tools and data via Model Context Protocol | Querying Postgres, driving a browser, reading Figma |
| Subagents | Spawn focused agents with their own separate context windows | A test-writer running parallel to the main task |
| Hooks | Run your own shell commands at lifecycle events | Auto-running the linter after every file edit |
The pattern across all five is the same: encode your team's knowledge once so the agent applies it every session, instead of being re-told every morning. In our experience, skills and MCP servers pay off first — skills capture procedures, MCP connects the systems your code actually touches, and an off-the-shelf plugin like Anthropic's official frontend design plugin drops a whole capability in with one command. Each mechanism has real depth behind these one-line summaries, and each will get its own dedicated guide on this site: Claude Code skills, MCP servers, subagents, and hooks.
Which model to use inside Claude Code
Claude Code lets you switch models mid-session with the /model command, so this is a per-task choice, not a commitment.
| Model | API price (in/out per MTok) | Use it for |
|---|---|---|
| Claude Sonnet 5 | $2/$10 intro until Aug 31, 2026 ($3/$15 after) | The default: features, bug fixes, tests |
| Claude Opus 4.8 | $5/$25 | Large multi-file refactors, long sessions, architecture |
| Claude Haiku 4.5 | $1/$5 | Quick edits, cheap subagent workloads |
Our rule: default to Claude Sonnet 5 and escalate only when it measurably fails. Claude Opus 4.8 leads SWE-bench Pro at 69.2% and drifts less across long agentic sessions, but Sonnet delivers roughly 97–99% of its coding capability at well under half the cost. The full benchmark data and a decision framework are in Claude Sonnet vs Opus.
Common Claude Code errors and quick fixes
Most Claude Code failures come down to one of three things: authentication, service health, or usage limits. This table covers the ones we actually hit:
| Symptom | Likely cause | Quick fix |
|---|---|---|
| OAuth timeout at login | Browser handoff failed or was blocked | Re-run claude, use /login, paste the code manually |
| API Error 500 / 529 | Anthropic-side incident or overload | Check status.anthropic.com, retry in a few minutes |
| "Rate limit reached" | Plan usage cap hit | Wait for the reset, switch to a cheaper model, or upgrade |
| "Credit balance too low" | Console account with no API credits | Add credits, or /login with a subscription instead |
command not found: claude | npm global bin not on PATH | Verify Node.js 18+, reinstall, check the npm prefix is on PATH |
| Session slows or degrades | Context window nearly full | Run /compact to summarize, or start a fresh session |
Two habits prevent most of this. When errors are 5xx, check status.anthropic.com before debugging your own setup — it's usually them, not you. And glance at your usage limits before starting a long session, because hitting a cap mid-refactor is the most annoying place to stop. We're assembling a dedicated Claude Code troubleshooting guide with the full error catalogue and fixes.
Claude pricing at a glance
| Plan | Price |
|---|---|
| Free | $0 |
| Pro | $20 / month |
| Max | from $100 / month |
| API | Pay per token |
For the full breakdown of every plan, see our how much Claude costs guide.
Frequently Asked Questions

Written by
InnovateTechie
Writing about Claude and the Anthropic toolkit — models, Claude Code, pricing, features, and fixes, in clear, practical, hands-on guides tested by daily use.
View all posts →





