Quick Answer
Claude Code is Anthropic’s agentic coding tool: it reads your codebase, edits files, runs commands and connects to your dev tools. You can use it in the terminal, in VS Code and JetBrains, in a desktop app and in the browser. It is not free: it needs a paid Claude plan (from about $20/month), a Claude Console account billed per token, or a supported cloud provider.
Compiled September 25, 2026 from Anthropic’s official documentation and public reviews. AI tools change fast, so check the linked sources for the latest details.
What Is Claude Code?
Claude Code is an AI-powered coding assistant from Anthropic, the company behind the Claude family of AI models. Unlike a simple autocomplete tool, it is agentic: you describe a goal in plain language and it explores your project, plans an approach, edits multiple files, runs commands and tests, and can even create git commits and pull requests.
According to Anthropic’s docs, typical uses include:
- Building features and fixing bugs from a plain-language description or an error message.
- Automating tedious work such as writing tests, fixing lint errors, resolving merge conflicts, updating dependencies and writing release notes.
- Working with git: staging changes, writing commit messages, creating branches and opening pull requests.
- Connecting your tools through the open Model Context Protocol (MCP), for example Jira, Slack or Google Drive.
- Scripting and CI: run it non-interactively (
claude -p), pipe logs into it, or use it in GitHub Actions and GitLab CI/CD.
Claude vs. Claude Code vs. Anthropic
Anthropic is the company. Claude (or Claude AI) is its assistant and model family, available in chat at claude.ai and through the Claude API. Claude Code is a separate product built on those models, designed specifically for software work.
Where You Can Use Claude Code
Claude Code runs on several surfaces, all connected to the same underlying engine, so your repository’s CLAUDE.md files, settings and MCP servers work across all of them.
Figure 1: Claude Code’s surfaces share one engine, so instructions and settings carry over.
| Surface | Best for | Notes (per Anthropic docs) |
|---|---|---|
| Terminal (CLI) | Full-featured, scriptable use | The claude command; also usable in CI |
| VS Code / Cursor | Working inside your editor | Inline diffs, @-mentions, plan review, conversation history |
| JetBrains | IntelliJ IDEA, PyCharm, WebStorm, etc. | Plugin needs the CLI installed separately |
| Desktop app | Visual diff review, several sessions side by side, scheduled tasks | Includes Claude Code, so no separate CLI install; a paid subscription is required |
| Web (claude.ai/code) | Long-running tasks, repos you don’t have locally | Works on desktop browsers and the Claude mobile app |
How to Install Claude Code
Anthropic recommends the native install, which updates itself in the background. Run the command for your system, then open a project and start Claude Code.
macOS, Linux, WSLcurl -fsSL https://claude.ai/install.sh | bash
Windows PowerShell
irm https://claude.ai/install.ps1 | iex
Windows CMD
curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd
Homebrew
brew install --cask claude-code
WinGet
winget install Anthropic.ClaudeCode
Things to Know
- Auto-updates: native installs update in the background; Homebrew and WinGet installs do not, so upgrade them yourself.
- Windows: Git for Windows is recommended so Claude Code can use the Bash tool; otherwise it uses PowerShell. WSL setups don’t need it.
- Linux: packages are also available via apt, dnf and apk.
- Desktop app instead? Download it for macOS or Windows and click the Code tab; no CLI install needed.
Start Your First Session
cd your-project
claude
You’ll be prompted to log in on first use. If the ANTHROPIC_API_KEY environment variable is set, Claude Code skips the login prompt and asks you to approve the key instead.
Claude Code in VS Code, Cursor & JetBrains
Claude Code for VS Code
- Open the Extensions view (
Ctrl+Shift+X/Cmd+Shift+X) and search for Claude Code (extension IDanthropic.claude-code). - Install it, then open the Command Palette (
Ctrl+Shift+P/Cmd+Shift+P), type Claude Code, and choose Open in New Tab.
The extension adds inline diffs, @-mentions, plan review and conversation history inside your editor. Claude Code in Cursor: the same extension can be installed in Cursor.
Claude Code vs. the VS Code Extension
They are not competing products: the extension is a surface of Claude Code. The terminal CLI is the most full-featured; the extension gives you a visual, editor-native experience. Because they share the same engine, your CLAUDE.md, settings and MCP servers work in both.
JetBrains
Install the Claude Code plugin from the JetBrains Marketplace and restart your IDE. It requires the Claude Code CLI to be installed separately.
How to Use Claude Code
A typical session follows a simple loop: you describe a goal, Claude Code explores and proposes a plan, makes changes, checks its work, and you review.
Figure 2: A typical Claude Code loop, from plain-language goal to reviewed commit.
Practical Examples
# Ask for a task
claude "write tests for the auth module, run them, and fix any failures"
# Let it handle git
claude "commit my changes with a descriptive message"
# Use it in a pipeline (non-interactive)
git diff main --name-only | claude -p "review these changed files for security issues"
Habits That Make It Work Better
- Be specific. “Add input validation to the login function in auth.ts” beats “improve this codebase.”
- Use plan mode (press
Shift+Tab) for bigger changes, so Claude proposes an approach before touching files. - Give it a way to verify: tests, expected output, or a screenshot.
- Add a
CLAUDE.mdto your project root with coding standards, architecture notes and preferred libraries; it is read at the start of every session. Claude Code can also read an existingAGENTS.md. - Review every diff. Claude Code is powerful, but you stay responsible for what gets committed.
Claude Code Skills, Plugins, Subagents, Hooks & MCP
Claude Code is extensible. Several layers let you customize it, from a single instructions file to fully packaged plugins.
Figure 3: The customization layers of Claude Code. Plugins package the others.
Claude Code Skills
Skills (also searched as “Claude skills” or “Claude Code skills”) are reusable instruction packages. Each is a folder with a SKILL.md file. Claude loads a skill automatically when its description matches what you’re doing, or you can run it directly with a slash command (a folder named deploy becomes /deploy).
| Scope | Location | Available in |
|---|---|---|
| Personal | ~/.claude/skills/<skill-name>/SKILL.md | All your projects |
| Project | .claude/skills/<skill-name>/SKILL.md | One repository (can be committed for your team) |
| Plugin | <plugin>/skills/<skill-name>/SKILL.md | Wherever the plugin is installed |
A minimal skill, adapted from Anthropic’s docs, that summarizes uncommitted changes:
---
description: Summarizes uncommitted changes and flags anything risky. Use when the user asks what changed, wants a commit message, or asks to review their diff.
---
## Current changes
!`git diff HEAD`
## Instructions
Summarize the changes above in two or three bullet points, then list any risks you notice.
Claude Code Plugins
A plugin is a directory of skills, agents, hooks and MCP servers that Claude Code installs as one unit, usually from a marketplace. Run /plugin in a terminal session and browse the Discover tab; Anthropic’s official marketplace is added the first time you start an interactive session. Plugins can be installed for you (user scope), for everyone in a repository (project scope), or for you in one repo (local scope).
Review Plugins Before Installing
A plugin can run code with your user privileges. Read Anthropic’s plugin security guidance and inspect what a plugin does before you install it. Enabled plugins also add to your context on every turn, so unused ones cost tokens; you can turn them off with /plugin.
Subagents, Hooks & MCP in One Line Each
- Subagents: spawn multiple Claude Code agents that work on different parts of a task; a lead agent coordinates.
- Hooks: run shell commands before or after Claude Code actions, such as auto-formatting after every edit.
- MCP: the open Model Context Protocol lets Claude Code connect to external tools and data sources.
Claude Code Pricing & Cost
Questions like claude code pricing, claude code cost and claude subscription all come down to two billing styles: a subscription with included usage, or pay-per-token through the API or a cloud provider.
Subscription Plans (Anthropic Pricing Page)
| Plan | Price | Claude Code included? |
|---|---|---|
| Free | $0 | No |
| Claude Pro | $17/month billed annually, or $20/month billed monthly | Yes |
| Claude Max | From $100/month (choose 5x or 20x more usage than Pro) | Yes |
| Team (standard seat) | $20/month annual, or $25/month monthly | Yes, per the pricing page (confirm seat details when you sign up) |
| Team (premium seat) | $100/month annual, or $125/month monthly (5x the usage of a standard seat) | Yes |
| Enterprise | $20/seat/month (annual) plus usage at API rates | Yes |
On subscription plans, usage draws from a per-seat allowance that resets on a rolling five-hour window plus a weekly window, and it is shared with Claude chat and Cowork. If you hit the limit, usage credits let you keep working (manage them with /usage-credits).
Pay-Per-Token: API, Console & Cloud Providers
You can also authenticate with a Claude Console account (or set ANTHROPIC_API_KEY), or run Claude Code through Amazon Bedrock, Google Cloud or Microsoft Foundry. In these setups you pay per token consumed. Anthropic’s cost guide reports that across enterprise deployments the average is about $13 per developer per active day and $150–250 per developer per month, with costs below $30 per active day for 90% of users. Your own numbers will vary with model choice, codebase size and how you use it.
Is Claude Code Free?
No. The Free plan does not include it. There is no free Claude Code tier, but you can try it by starting with the cheapest paid plan, or use open-source agents such as OpenCode with a model provider of your choice if you need a free-to-start option.
How to Keep Claude Code Costs Down
- Clear between tasks with
/clear; stale context costs tokens on every message. - Match the model to the job with
/model: Sonnet handles most coding tasks for less than Opus; reserve Opus for hard reasoning. - Use plan mode to avoid expensive rework, and write specific prompts.
- Delegate verbose work (tests, logs) to subagents so only a summary returns.
- Keep
CLAUDE.mdshort (under about 200 lines) and move specialized workflows into skills. - Check usage with
/usageand/context, and disable unused MCP servers and plugins.
Claude Code vs Claude Cowork vs Claude Chat
“Claude Cowork vs Claude Code” is a common question. Public reviews describe Claude Cowork as a desktop agent for knowledge work (documents, research, spreadsheets, presentations) for people who don’t want a command line, while Claude Code is for people who write software. Both sit alongside regular Claude chat.
| Claude (chat) | Claude Code | Claude Cowork | |
|---|---|---|---|
| Best for | Conversation, writing, analysis | Software development | Documents, research and file-based knowledge work |
| Where it lives | Web, desktop and mobile apps | Terminal, IDEs, desktop, web | Claude desktop app |
| Needs a command line? | No | Optional (CLI, or use desktop/web/IDE) | No |
| Typical output | Answers and drafts | Code changes, tests, commits, PRs | Finished documents, spreadsheets, reports |
Claude Code vs Codex, OpenCode, Antigravity & Other Agents
The AI coding-agent space moves quickly. This table summarizes what each tool is designed to be, based on vendor pages and public comparisons; verify current features and pricing before you commit.
| Tool | Made by | What it is | Good fit when… |
|---|---|---|---|
| Claude Code | Anthropic | Agentic coding tool for terminal, IDEs, desktop and web, with skills, plugins, subagents and MCP | You want a deep, autonomous coding agent on Claude models |
| OpenAI Codex (Codex CLI) | OpenAI | Coding agent available as a CLI, desktop app, IDE integration and cloud tasks; reported as bundled with paid ChatGPT plans | You already pay for ChatGPT and prefer OpenAI models |
| OpenCode | Open-source project | Terminal coding agent designed to work with many model providers | You want open source and the freedom to switch models |
| Google Antigravity | Agent-first IDE with a “Mission Control” view that can run several agents in parallel, including a built-in browser | You like managing agents from an IDE, especially with Gemini | |
| Cursor | Anysphere | AI-first code editor based on VS Code with multiple model options | You want AI built into the editor UI (Claude Code’s extension also installs in Cursor) |
| GitHub Copilot CLI | GitHub | Copilot’s terminal agent | Your team is standardized on GitHub Copilot |
| OpenClaw | Open-source project | Self-hosted personal AI agent you reach through messaging apps such as Telegram, Discord and WhatsApp | You want an always-on general assistant rather than a coding-focused agent |
| Hermes Agent | Nous Research | Open-source agent focused on persistent memory and self-improving skills | You want a long-running personal or automation agent |
| Kimi Code | Moonshot AI | Coding offering built around Moonshot’s Kimi models | You want to try Moonshot’s models for coding |
| Claude Cowork | Anthropic | Desktop agent for knowledge work | Your work is documents and research, not code |
How to Choose
Figure 4: An opinionated starting point, not a benchmark. Many developers use more than one tool.
Because they use different models and philosophies, results vary by task. The most reliable way to choose is to run the same real task in two tools and compare the diffs, the cost and the time you spent reviewing.
Claude Code Docs, Updates & Troubleshooting
- Claude Code docs / documentation: Anthropic’s official docs at code.claude.com/docs include a quickstart, best practices, CLI reference, hooks, MCP, subagents, and third-party provider guides (Amazon Bedrock, Google Cloud, Microsoft Foundry).
- Claude Code news: see the official changelog for release notes. Run
claude --versionto check your version. - Claude status: if requests fail unexpectedly, check Anthropic’s status page for an ongoing incident before debugging locally.
- Install problems: the docs include an install troubleshooting guide that maps common errors (such as a
403or a curl error) to fixes. - Usage-limit messages: “session limit” and “weekly limit” messages refer to your plan allowance; the message shows when it resets, and usage credits can extend it.
Quick Summary
- What: Anthropic’s agentic coding tool for terminal, IDEs, desktop and web.
- Install:
curl -fsSL https://claude.ai/install.sh | bash(macOS/Linux/WSL) orirm https://claude.ai/install.ps1 | iex(Windows). - Cost: not free; Pro from $20/month, Max from $100/month, or pay per token via the API or a cloud provider.
- Extend it: CLAUDE.md, skills, subagents, hooks, MCP, and plugins that bundle them.
- Compare: Codex (OpenAI), OpenCode (open source), Antigravity (Google), Cursor, Cowork (non-coding work).
Frequently Asked Questions
Claude Code is Anthropic’s agentic coding tool. It reads your codebase, edits files, runs commands and integrates with your development tools, and is available in the terminal, IDEs, a desktop app and the browser.
No. The Free plan doesn’t include Claude Code. You need a paid Claude plan, a Console account billed per token, or a supported cloud provider.
Per Anthropic’s pricing page: Pro is $17/month billed annually or $20 monthly; Max starts at $100/month; Team standard seats are $20 (annual) or $25 (monthly) and premium seats $100 (annual) or $125 (monthly). API and cloud usage is billed per token; Anthropic’s cost guide cites about $13 per developer per active day on average in enterprise deployments.
On macOS, Linux or WSL run curl -fsSL https://claude.ai/install.sh | bash; on Windows PowerShell run irm https://claude.ai/install.ps1 | iex. Homebrew (brew install --cask claude-code) and WinGet (winget install Anthropic.ClaudeCode) also work. Then run claude in a project and log in.
Install the Claude Code extension (anthropic.claude-code), open the Command Palette, type “Claude Code” and choose Open in New Tab. It adds inline diffs, @-mentions, plan review and conversation history, and can also be installed in Cursor.
Skills are folders containing a SKILL.md file with a description and instructions. Claude loads a skill automatically when it matches your request, or you can run it with a slash command such as /deploy.
Plugins package skills, agents, hooks and MCP servers into one installable unit, usually from a marketplace. Run /plugin to browse them, and review any plugin first because it runs with your user privileges.
Claude Code is for developers (terminal, IDE, desktop, web). Claude Cowork is a desktop agent for knowledge work such as documents, research and spreadsheets, for people who don’t want a command line.
It depends on your preferred models, the subscription you already have and your workflow. Claude Code uses Anthropic’s Claude models with skills, plugins, subagents and MCP; OpenAI Codex uses OpenAI models and is bundled with paid ChatGPT plans. Try the same task in both and compare results and cost.
Yes. Set ANTHROPIC_API_KEY to skip the login prompt, or use Amazon Bedrock, Google Cloud or Microsoft Foundry through the terminal CLI, VS Code or JetBrains; usage is then billed per token.
Sources
- Claude Code Docs: Overview
- Claude Code Docs: Skills
- Claude Code Docs: Plugins
- Claude Code Docs: Manage costs effectively
- Anthropic: Claude pricing
- DataCamp: Claude Cowork vs Claude Code
- SSOJet: AI Coding Agents Compared in 2026
- Kommunicate: Claude Code vs Codex vs Antigravity
- MindStudio: Hermes Agent vs Claude Code vs OpenClaw
This is an independent guide and is not affiliated with or endorsed by Anthropic. Claude and Claude Code are trademarks of Anthropic. Prices, plan features and competitor descriptions come from public sources as of September 2026 and can change; always confirm on the vendor’s official pages.