<Pablo />
Claude Code Guide

Claude Code: what it is, how to install, and pricing

Complete guide to Claude Code — Anthropic's AI tool that codes in your terminal: what it is, what it does, how to install on Windows, Mac and Linux, pricing, limits, and how it compares to Cursor, GitHub Copilot and Codex.

Updated on May 30, 2026

Claude Code is Anthropic's AI coding tool that works right in your terminal. Unlike a simple autocomplete, it is agentic: it reads your code, edits multiple files, runs commands, executes tests, and opens pull requests — all from natural-language instructions. This guide covers what it is, how to install it, what it costs, and whether it is worth it.

What is Claude Code?

Claude Code is an AI coding assistant that understands your entire project and acts on it. You describe a task in plain language and it plans the approach, writes the code across multiple files, and verifies it works. Beyond the terminal, it is also available as a VS Code and JetBrains extension, a desktop app, and on the web (claude.ai/code) — all powered by the same engine.

What is Claude Code used for?

It is built to take repetitive work off your plate and speed up development. In practice you can use it to:

How does it work in the terminal?

Once installed, you go into your project folder and run claude. The first time, it prompts you to log in via the browser. From there you just talk to it: you ask, it reads the codebase, proposes a plan, and executes — asking for confirmation on sensitive actions.

cd your-project
claude

It follows the Unix philosophy and is composable — you can pipe other commands into it: tail -200 app.log | claude -p "Slack me if you see anomalies".

Is Claude Code an IDE?

No. Claude Code is not an IDE — it is a command-line tool (CLI) that works alongside your IDE. You can use it in a plain terminal, inside VS Code/Cursor or JetBrains via the extension, or through the desktop app. If you want an editor with built-in AI, that is Cursor; Claude Code is the agent that does the work.

How to install Claude Code

The recommended method is the native installer, which auto-updates in the background.

How to install on Mac and Linux

curl -fsSL https://claude.ai/install.sh | bash

On Mac you can also use Homebrew:

brew install --cask claude-code

How to install on Windows

In PowerShell:

irm https://claude.ai/install.ps1 | iex

Or via WinGet:

winget install Anthropic.ClaudeCode

On native Windows, installing Git for Windows is optional but recommended so Claude Code can use Bash. You can also run it inside WSL.

Install via npm

If you already have Node.js 18 or later, you can install it as a global package:

npm install -g @anthropic-ai/claude-code

System requirements: macOS 10.15+, Windows 10+ or Ubuntu 20.04+/Debian 10+, 4 GB of RAM, and an internet connection.

Is Claude Code free?

There is no free Claude Code plan: the free Claude.ai plan does not include access. To use it you need a Pro, Max, Team, or Enterprise subscription, or an Anthropic Console account (pay-as-you-go via the API). Installing is free; what you pay for is access to the model.

How much does Claude Code cost?

The prices below were verified in May 2026 and may change — always confirm at claude.com/pricing.

PlanPrice (USD/mo)Claude Code
Free$0Not included
Pro$20Included
MaxFrom $100Included (more usage)
Team~$25–30 per seatIncluded
EnterpriseCustomIncluded
API (Console)Pay-as-you-go (tokens)Included

For personal use, Pro at $20/mo is the entry point. Heavy daily users typically move to Max, which offers much higher limits.

Claude Code limits

How much you can use depends on your plan. The subscription plans (Pro, Max) have usage limits that reset periodically — Max offers a far larger allowance than Pro. With the API model (Console) there is no fixed cap: you pay for the tokens you consume. For heavy workloads or teams, the API or Enterprise tend to be more predictable.

Claude Code vs Cursor, GitHub Copilot and Codex

Each tool solves the problem differently:

ToolWhat it isWhere it runsBest for
Claude CodeCommand-line AI agentTerminal, IDE, desktop, webMulti-file tasks, automation, CI
CursorAI code editor (VS Code fork)Editor appWanting an IDE with built-in AI
GitHub CopilotAI autocomplete and chat in the editorVS Code/JetBrains extensionSuggestions as you type
Codex (OpenAI)CLI/cloud coding agentTerminal and cloudThose already in the OpenAI ecosystem

In short: Copilot completes code as you type; Cursor is a whole editor built around AI; Claude Code and Codex are agents that execute tasks end to end. Claude Code stands out by working in any terminal and integrating multiple surfaces (terminal, IDE, web) with the same engine.

Pros and cons

Pros:

Cons:

Is Claude Code worth it?

If you code professionally and want to automate repetitive tasks, write tests, refactor, and open PRs with AI help, Claude Code usually pays for itself quickly in saved time. If you only want editor autocomplete, Copilot may be enough. If you want a powerful, flexible agent in the terminal, it is one of the best options available today.

Comparisons: Claude Code vs other tools

Frequently asked questions about Claude Code

Is Claude Code free?

No. The free Claude.ai plan does not include Claude Code. You need a Pro, Max, Team, or Enterprise subscription, or an Anthropic Console account with pay-as-you-go API billing.

How much does Claude Code cost?

The Pro plan costs $20/month and includes Claude Code. Max starts at $100/month with higher limits. You can also pay per use through the API (Console). Confirm current prices at claude.com/pricing.

How do I install Claude Code on Windows?

In PowerShell, run irm https://claude.ai/install.ps1 | iex, or use WinGet with winget install Anthropic.ClaudeCode. Installing Git for Windows is optional but recommended.

Is Claude Code better than Cursor?

They are different things. Cursor is an AI code editor; Claude Code is a command-line agent that also runs inside editors. For automation and multi-file tasks in the terminal, Claude Code stands out; for an IDE with built-in AI, Cursor makes sense.

Does Claude Code work in VS Code?

Yes. There is an official Claude Code extension for VS Code (and Cursor), with inline diffs, @-mentions, and conversation history, plus a plugin for JetBrains IDEs.

How do I download Claude Code?

On Mac and Linux: curl -fsSL https://claude.ai/install.sh | bash. You can also install via Homebrew, WinGet, or npm (npm install -g @anthropic-ai/claude-code, requires Node.js 18+).

Free download: Guide to Turn Your Idea into Software

I don't send spam. I use your data only to send the e-book and, when relevant, reply about your project.

Download E-book

Want to use AI to speed up development?

I help developers and teams implement Claude Code, Cursor, Codex, and automation safely in their real workflow.