Category leaders

Guide

What Is Claude Code?

A plain-English guide to Claude Code, Anthropic's coding agent: what it is, how it works, where it runs, which plans include it, how its usage limits work, how it differs from Codex, GitHub Copilot and Cursor, and its risks.

November 14, 2026 · The AI Rankings

Quick answer: Claude Code is Anthropic’s AI coding agent: you describe a task in plain English, and it reads your codebase, edits files, runs commands and tests, and makes git commits until the job is done. It runs in the terminal, in VS Code and JetBrains IDEs, in a desktop app, in the browser at claude.ai/code, in the Claude mobile apps and in Slack (Anthropic). It is included with every paid Claude plan, from Pro at $20 a month, and is not included on the Free plan (Anthropic pricing). In the Stack Overflow Developer Survey 2026, 65.5% of 12,255 respondents had used Claude Code in the past year, more than any other coding agent in the survey. The one caveat: on a subscription it shares one usage allowance with your Claude chats, so long coding sessions can reach the plan’s five-hour and weekly limits.

Definition: Claude Code is an agentic coding tool made by Anthropic. Instead of suggesting the next line of code, it takes a goal, such as “fix the failing login test”, and works through it: it searches the project, plans the change, edits files, runs the code and checks the result, within permission rules you control. It uses Anthropic’s Claude models.

This page explains one product. To compare coding tools, see best AI for coding, which ranks Claude Code against OpenAI Codex, GitHub Copilot, Cursor and others; for editors, see best AI IDE. For the Claude chat app, see the Claude app guide.


What is Claude Code?

Anthropic describes Claude Code as “an agentic coding tool that reads your codebase, edits files, runs commands, and integrates with your development tools” (Anthropic).

The important word is agentic. AI autocomplete tools suggest the next few lines and leave the developer to do everything else. Claude Code works more like a developer who has been handed a ticket: it decides which files to read, makes the changes, runs the tests, reads the errors, fixes them and reports back. For a broader explanation of the idea, see what is agentic AI.

Claude Code vs Claude vs the Claude models

Three things share the Claude name, and they are easy to mix up.

NameWhat it isWho it is for
Claude appAnthropic’s chat assistant on the web, desktop and mobile, which also runs multi-step tasks on your files and appsEveryone
Claude CodeAnthropic’s coding agent, which works directly inside a software projectDevelopers, and people without a coding background who are building software
Claude modelsThe AI models underneath both, such as Claude Fable 5.2, Claude Opus 5.5, Claude Sonnet 5.5 and Claude Haiku 5.5Both products, plus developers using the Claude API

The model is the brain; Claude Code is the set of hands and tools around it. Inside Claude Code, the model can open files, run the code and see what actually happens, rather than working only from what has been pasted into a chat.

Is Claude Code free?

No. Claude Code is included with every paid Claude plan, starting with Pro at $20 a month or $200 a year, and the Free plan does not include it (Anthropic pricing). Developers can also pay per token through an Anthropic Console (API) account instead of a subscription (Anthropic). The full plan breakdown is in Claude Code pricing and plans below.


How does Claude Code work?

Claude Code works in a loop: it reads, plans, acts, checks the result and repeats until the task is finished or it needs your input.

What happens when you give Claude Code a task

  1. You describe the goal. You type a request in plain English in your terminal, IDE, the desktop app or the browser: “add a dark mode toggle to the settings page”.
  2. It explores the project. Claude Code searches and reads the relevant files itself. You do not paste code into a chat box.
  3. It plans. In plan mode it writes out a plan first, which you can approve or change before any file is touched.
  4. It acts with tools. Claude Code edits files, runs shell commands, installs packages, runs tests and uses git. Each of these is a tool call.
  5. It checks its own work. It reads test output, error messages and logs, and fixes what broke.
  6. It works within your permission settings. In Manual mode it asks before editing files or running commands; in auto mode, a separate classifier reviews each action before it runs (see Permissions, auto mode and sandboxing).
  7. It reports back. When it is done, it summarises what changed, and it can write the commit message or open a pull request.

Because the model does the reading and deciding, the request matters. Anthropic’s best-practice guide recommends naming the file, describing the symptom and saying what “fixed” looks like up front, and giving Claude a check that comes back pass or fail, such as a test file, a build, a linter or a screenshot to compare against a mockup, so it can verify its own work (Anthropic).

What Claude Code can do

Anthropic’s documentation lists these jobs (Anthropic):


Where Claude Code runs

Claude Code is one product with several front doors, all using the same agent (Anthropic).

SurfaceWhat it looks likeSuits
Terminal (CLI)A text interface you start by typing claude in a project folderDevelopers who work in the command line; scripting and automation
VS Code extensionA panel inside Visual Studio Code, which also installs in CursorDevelopers who want to see diffs in their editor
JetBrains pluginA plugin for IntelliJ IDEA, PyCharm, WebStorm and other JetBrains IDEs (needs the CLI installed separately)Developers who work in JetBrains IDEs
Desktop appA standalone app for macOS, Windows (x64 and ARM64) and Ubuntu or Debian (in beta)People who would rather not use a terminal
Web and mobileclaude.ai/code in the browser, plus the Claude iOS and Android appsStarting or checking tasks away from your computer
SlackMention @Claude in Slack with a bug report and get a pull request backTeams handing off small fixes from a conversation
CI and code reviewGitHub Actions, GitLab CI/CD and automatic code review on every GitHub pull requestAutomated fixes and reviews

The desktop app needs a paid subscription, and most surfaces need a Claude subscription or an Anthropic Console account (Anthropic). The terminal, VS Code and JetBrains versions can also run through third-party cloud providers, including Amazon Bedrock, Google Cloud’s Agent Platform (formerly Vertex AI) and Microsoft Foundry (Anthropic).

Anthropic launched a web version of Claude Code, with a sandboxing feature, on 20 October 2025 (Wikipedia). On 17 September 2026 it opened a beta of redesigned Projects to select Pro and Max subscribers who use cloud sessions in Claude Code: a coordinator splits a job into parallel threads, each a cloud session working on its own branch and copy of the repository, and every thread adds to and draws from a shared memory (Anthropic).

How to install Claude Code

Anthropic’s documented install commands are (Anthropic):

SystemCommand
macOS, Linux, WSLcurl -fsSL https://claude.ai/install.sh | bash
Windows PowerShellirm https://claude.ai/install.ps1 | iex
Homebrew (macOS)brew install --cask claude-code
WinGet (Windows)winget install Anthropic.ClaudeCode

After installing, open a project folder in your terminal and type claude; claude --version confirms the install. Native installs update themselves in the background, while Homebrew and WinGet installs do not, and Homebrew’s stable claude-code cask is typically about a week behind the latest release. On native Windows, Anthropic recommends installing Git for Windows so Claude Code can use its Bash tool; without it, Claude Code uses PowerShell instead.

If you would rather not use a terminal at all, the desktop app and claude.ai/code need no command-line install.


Claude Code pricing and plans

Claude Code is included in every paid Claude plan, and it draws on the same usage allowance as the rest of the plan. Anthropic’s help centre says the limits “are shared across Claude and Claude Code, meaning all activity in both tools counts against the same limits” (Anthropic).

PlanPriceClaude CodeUsage allowance
Free$0Not includedLimited usage every five hours and every week
Pro$20 a month, or $200 a year ($17 a month)IncludedThe baseline (1x)
Max$100 a monthIncluded5x Pro usage every five hours and every week; $100 a month in API credits
Ultra$200 a monthIncluded10x Pro usage every week, with no five-hour limit for verified accounts; $200 a month in API credits
Team, Standard seat$25 per seat a month, or $20 billed annuallyIncludedMore usage than Pro
Team, Premium seat$125 per seat a month, or $100 billed annuallyIncluded5x a Standard seat
Enterprise$20 per seat a month billed annually (20-seat minimum)IncludedSeat price plus usage at API rates
API (Anthropic Console)Pay per tokenIncludedNo plan limit; you pay for what you use

Prices are Anthropic’s list prices, excluding tax (Anthropic pricing). On 30 October 2026 Anthropic renamed its two top plans: Max 5x became Max and Max 20x became Ultra, with prices unchanged at $100 and $200 (TNW). For a fuller comparison of the consumer plans, see Claude Pro vs Max. Per-token API prices for each model are on the model pages and in best LLM APIs.

How Claude Code usage limits work

Subscription plans meter usage in two ways (Anthropic):

Every file Claude Code reads and every step it takes uses tokens, so a long agent run on a large codebase uses far more of the allowance than a short chat. For how tokens are counted, see what are AI tokens.

Which plan do you need for Claude Code?

If you…ConsiderWhy
Are trying Claude Code or use it a few times a weekPro ($20)The cheapest plan that includes Claude Code, on every surface
Reach the five-hour limit most working daysMax ($100)5x the Pro allowance in every five-hour window and every week
Run Claude Code for most of the working day, or run agents in parallelUltra ($200)10x Pro weekly and, once verified, no five-hour limit
Run it in scripts and CI, or want exact cost controlAPI (Console)Pay per token with no plan ceiling
Buy for a companyTeam or EnterpriseCentral billing, admin controls, Premium seats for heavy users

Which models does Claude Code use?

Claude Code runs Anthropic’s own Claude models. Anthropic’s documentation names Claude Fable 5.2, Opus 5.5, Sonnet 5.5 and Haiku 5.5 (Anthropic), and you can switch model inside a session.

For how each model performs, see its page or the AI model rankings.


Key Claude Code features explained

FeatureWhat it doesWhy it matters
CLAUDE.mdA file in your project with standing instructions: coding style, test commands, things to avoidClaude Code reads it every session, so you stop repeating yourself. See context engineering
Plan modeClaude writes a plan and waits for approval before changing anythingCatches a wrong approach before it touches 30 files
SubagentsClaude hands parts of a task to separate agents, each with its own contextKeeps long jobs focused
MCP serversConnections to outside tools and data such as GitHub, databases, design files or issue trackers, added with claude mcp addClaude can read a ticket or a design, not only your code. See best MCP servers
SkillsPackaged instructions and scripts for a repeat job, loaded when relevantTeaches Claude Code your team’s way of doing things
HooksScripts that run automatically at set points, such as after every file editEnforce formatting, tests or checks without asking
Headless mode (claude -p)Runs Claude Code without the interactive interface, inside scripts and pipelinesAutomation, batch jobs and CI
Background and scheduled tasksLong jobs that keep running while you work on something else, or that run on a scheduleHand off work and come back to the result
Claude Agent SDK”The same tools, agent loop, and context management that power Claude Code”, as a library for Python and TypeScriptBuild your own agents on the same foundation (Anthropic)

Permissions, auto mode and sandboxing

Claude Code can run real commands on your machine, so how much it may do without asking is the most important setting. Anthropic’s documentation describes several permission modes (Anthropic):

Sandboxing is a boundary the operating system enforces around the shell commands Claude Code runs: you set which files and network domains those commands can reach. It covers shell commands only; Claude Code’s file-editing tools and MCP servers run outside it (Anthropic).


How widely is Claude Code used?

EvidenceResultSource
Developer usage65.5% of 12,255 respondents had used Claude Code in the past year, ahead of GitHub Copilot (58.7%), OpenAI Codex (29.5%) and Cursor (25.5%)Stack Overflow Developer Survey 2026
Merged work91.2% of Claude Code’s recent pull requests were merged, against 85.5% for OpenAI Codex and 68.1% for GitHub CopilotAmplifying, November 2026 edition
Human review30.5% of merged Claude Code pull requests in a sample of significant repositories had a human reviewerAmplifying, sample from 30 July to 28 August 2026

For how these figures compare across every major coding tool, see best AI for coding.

One example shows the kind of work people hand it. Hardware Busters reported on 12 October 2026 that Linux creator Linus Torvalds had published an experimental kernel branch for which the code, the test programs and the first draft of his write-up came from Claude Code working under his direction. On his laptop, eight threads making small reads of the same file completed roughly three times as many reads per second; the branch was not merged (Hardware Busters).


Claude Code vs Codex, GitHub Copilot and Cursor

Claude Code’s main rivals take different approaches. This is a short orientation; the full ranking, with benchmarks and prices, is on best AI for coding.

ToolMade byHow it worksModels
Claude CodeAnthropicAgent in the terminal, IDE, desktop, web and SlackClaude only
OpenAI CodexOpenAIAgent in the terminal, IDE and cloud; cloud tasks come back as pull requestsOpenAI only
GitHub CopilotGitHub (Microsoft)Completions, chat and a coding agent built into GitHub and most editorsSeveral vendors
CursorAnysphereAn AI-first code editor with its own agentsSeveral vendors and its own Composer models

Claude Code vs Codex. In Amplifying’s November 2026 study, 91.2% of Claude Code’s recent pull requests were merged, against 85.5% for Codex (Amplifying), and Claude Code had more than twice Codex’s usage in the Stack Overflow survey (65.5% against 29.5%). Codex had opened about 9.1 million public pull requests by 13 November 2026, more than any other agent PR Arena tracks; PR Arena does not track Claude Code.

Claude Code vs Cursor. They are not either-or. Cursor is an editor; Claude Code is an agent that also runs inside Cursor through its VS Code extension.

Claude Code vs the Claude app. If you are not writing software, the Claude app is the relevant product: it runs multi-step tasks on documents and apps without a terminal. Claude Code is for work that lives in a code repository. People who start with prompt-to-app builders often move to a coding agent once a project outgrows them; see vibe coding and best AI app builders.


Risks and limits of Claude Code

Claude Code can act on your machine and your accounts, and that is where the risks are.


A short history of Claude Code

DateEvent
24 Feb 2025Claude Code launches as a limited research preview alongside Claude 3.7 Sonnet (Anthropic)
May 2025Generally available alongside the Claude 4 models (Wikipedia)
20 Oct 2025A web version launches, with a sandboxing feature (Wikipedia)
14 Aug 2026Auto mode becomes the default for new sessions on Pro, Max and Team (Anthropic)
17 Sep 2026Redesigned Projects beta: parallel cloud sessions with a shared memory (Anthropic)
30 Oct 2026Max 20x renamed Ultra, with no five-hour limit for verified accounts (TNW)
9 Nov 2026Claude Fable 5.2 becomes the default Fable model in Claude Code (changelog)

Anthropic ships new versions of Claude Code several times a week; the changelog lists every change.


Who uses Claude Code?

It is not built for work that does not involve code; the Claude app handles documents, research and everyday tasks. And because Claude Code runs only Claude models, it does not suit a company that has standardised on another vendor’s models.


Frequently asked questions

What is Claude Code in simple terms?

Claude Code is an AI agent from Anthropic that writes and fixes software for you. You describe what you want in plain English, and it reads your project, edits the files, runs the code and tests, and makes git commits, within permission rules you set. It runs in the terminal, in VS Code and JetBrains, in a desktop app, in the browser, in the Claude mobile apps and in Slack.

Is Claude Code free?

No. Claude Code is included with every paid Claude plan, starting with Claude Pro at $20 a month or $200 a year, and it is not included on the Free plan. Developers can also use it with an Anthropic Console account and pay per token instead of buying a subscription.

What is the difference between Claude and Claude Code?

Claude is Anthropic’s chat assistant for everyday questions, writing and tasks on your files and apps. Claude Code is Anthropic’s coding agent, which works directly inside a software project, running commands and editing code. Both use the same Claude models and, on a paid plan, share one usage allowance.

Do I need to know how to code to use Claude Code?

No, but it helps. Claude Code can build working software from plain-English instructions, and the desktop app and claude.ai/code remove the need for a terminal. Someone who cannot read code, though, cannot check what it built, so beginners should keep projects small, use version control and ask Claude Code to explain its changes.

Does Claude Code work in VS Code?

Yes. Claude Code has an official VS Code extension, which also installs in Cursor, and a plugin for JetBrains IDEs such as IntelliJ IDEA, PyCharm and WebStorm. The JetBrains plugin needs the Claude Code command-line tool installed separately.

How much does Claude Code cost per month?

Claude Code costs $20 a month on Claude Pro, $100 a month on Max with five times Pro’s usage, and $200 a month on Ultra with ten times Pro’s weekly usage and no five-hour limit for verified accounts. Team seats that include Claude Code cost $25 a month for Standard and $125 for Premium, or $20 and $100 billed annually.

What are Claude Code’s usage limits?

Claude Code shares your plan’s usage allowance with your Claude chats. Pro and Max have a five-hour session limit and a weekly limit; Ultra has a weekly limit and, once the account is verified, no five-hour limit. Max gives five times Pro’s usage, and Ultra gives ten times Pro’s weekly usage. Long agent runs on large codebases use the allowance fastest, because every file read and every step uses tokens.

Which model does Claude Code use?

Claude Code uses Anthropic’s own Claude models: Claude Fable 5.2, Claude Opus 5.5, Claude Sonnet 5.5 and Claude Haiku 5.5. You can switch model during a session. Claude Code does not run models from OpenAI, Google or other companies.

How does Claude Code compare with GitHub Copilot?

In the Stack Overflow Developer Survey 2026, 65.5% of respondents had used Claude Code in the past year against 58.7% for GitHub Copilot. In Amplifying’s November 2026 study, 91.2% of Claude Code’s recent pull requests were merged against 68.1% for Copilot’s. Copilot is built into GitHub and most editors and has a free plan. For prices and the full ranking, see best AI for coding.

How does Claude Code compare with Codex?

In Amplifying’s November 2026 study, 91.2% of Claude Code’s recent pull requests were merged against 85.5% for OpenAI Codex, and Claude Code had more than twice Codex’s usage in the Stack Overflow survey (65.5% against 29.5%). Codex had opened about 9.1 million public pull requests by 13 November 2026, more than any other agent PR Arena tracks.

Is Claude Code safe to use?

Claude Code is as safe as the permissions you give it. Manual mode asks before it edits files or runs commands, and auto mode has a classifier review each action, but Anthropic says auto mode does not guarantee safety, and an agent can still write insecure code or reach anything your account can reach. Review changes before merging, keep secrets out of the project, and install it only from Anthropic’s official installers and marketplaces.

Can Claude Code run on Windows?

Yes. Claude Code installs on Windows through PowerShell or WinGet, runs inside WSL, and has a desktop app for Windows x64 and ARM64. Anthropic recommends installing Git for Windows so Claude Code can use its Bash tool; without it, Claude Code uses PowerShell.

← All guides