SSD Nodes Learn Hosting plans →
Guides Matt ConnorBy Matt Connor

What is Claude Code?

Claude Code is Anthropic's terminal coding agent. What it does, where it runs, what a plan costs, and why it is not a chat window or an IDE.

What Claude Code is

Claude Code is a coding agent from Anthropic that runs in your terminal. It reads the files in a real repository, edits them, runs commands such as npm test or git commit, and reads the output to decide what to do next. You describe a task in plain language and it does the work in your working directory.

A chat window can only hand you text to copy back into your editor. Claude Code holds the file system and the shell, so it changes the code, runs the tests, sees the failure and fixes it without you carrying text between two windows.

Starting a session on macOS, Linux or WSL (Windows Subsystem for Linux) takes three commands:

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

The first run opens your browser to log in. After that, claude --version prints a version number followed by (Claude Code). If your shell answers claude: command not found instead, check that ~/.local/bin, where the native installer puts the launcher, is on your PATH. The installer prints the fix under Setup notes: but does not change PATH itself. Add the directory to your shell's configuration, then open a new terminal and run it again. claude doctor prints installation and settings diagnostics without starting a session, which is the fastest way to see what a broken install is missing.

Where does Claude Code run?

The terminal is the main surface. It supports macOS 13.0 and newer, Windows 10 1809 and newer, Ubuntu 20.04 and newer, Debian 10 and newer, and Alpine 3.19 and newer, on x64 or ARM64 hardware with at least 4 GB of RAM. Bash, Zsh, PowerShell and CMD all work.

The same engine drives the other surfaces: extensions for VS Code and JetBrains IDEs, a desktop app, the browser at claude.ai/code, and the Claude mobile app. The terminal and local desktop sessions share your repository's CLAUDE.md file, settings and MCP (model context protocol) servers; cloud sessions use configuration available in their own environment.

An internet connection is required when you use Anthropic's models, which run on Anthropic's servers or through a supported cloud provider. Your machine runs the agent loop: the file reads, the edits and the shell commands. With Ollama's local model setup, Claude Code can instead send model requests to http://localhost:11434, keeping inference on your own machine. This runs alternative open-source models, not Anthropic's Claude models; features that fetch remote resources still need a connection.

That split is why a small server makes a good host. A long task holds a terminal open for as long as it runs, so people put the agent on a VPS, start it inside tmux over SSH, and then close the laptop without killing the session. Running Claude Code on a VPS inside tmux walks through that setup. A box with room for one session usually has room for several, and one session can pass text straight to another rather than waiting for you to reattach and carry the result across yourself. For a machine sitting in front of you instead, Claude on the Linux desktop and the CLI covers the local install.

What does Claude Code cost?

There are two ways to pay for it, and they behave differently.

A Claude subscription includes Claude Code. The Pro, Max, Ultra, Team and Enterprise plans all carry it, but they do not bill it the same way. On Pro, Max, Ultra and Team your usage is bounded by the plan's limits rather than by a bill that keeps growing. When you reach a limit you can wait for the window to reset. On Pro, Max and Ultra you can also turn on usage credits, an opt-in that keeps requests going at standard API rates instead of blocking you. They are charged on top of the subscription from a prepaid balance, with a monthly cap you can set, and they cover Claude Code in the terminal as well as chat. Anthropic's pricing page lists the same extra usage for Team. On current usage-based Enterprise plans, as of 19 November 2026, the seat fee covers access only, and every token is billed at API rates; older seat-based plans retain their included usage until migration. Max costs $100 per month and Ultra costs $200 per month on the web, both billed monthly only; mobile prices may vary. Max gives five times Pro's usage every five hours and every week, while Ultra gives ten times Pro's weekly usage. Verified Ultra accounts have no five-hour limit; accounts not yet verified have a temporary limit. Ultra has a weekly limit across all models and a separate weekly Fable limit. Both plans cost $20 per Pro-sized weekly allowance. They include monthly Console API credits of $100 on Max and $200 on Ultra. Those credits do not cover interactive Claude Code or extra usage in the Claude apps, but they do cover claude -p runs you start yourself with an API key from the linked Console organization. So choosing between Max and Ultra comes down to how often you are the one waiting, or paying for usage credits.

An Anthropic Console account bills per token instead. There is no subscription usage window to wait out, but API rate limits and the monthly spend cap of your Console tier or a lower limit you set still apply, so a long agent session on a large repository costs real money in real time. That is the honest cost driver here: the agent pays for every token it reads, and an agent exploring a big codebase reads a lot of it. The same task in a small, tidy repository costs less than in a sprawling one.

Buying for a group is a third case, because Team and Enterprise are sold by the seat, and the point where per-token billing undercuts a row of seats depends on how many of those people run long sessions rather than how many names are on the account.

Plan prices move, so beyond the Max and Ultra prices above, checked on 19 November 2026, this page quotes none of them. What Claude Code costs per month carries the current numbers and the arithmetic for choosing between a subscription and per-token billing. Knowing the price is only half the question, since whether a plan pays for itself depends on your own hourly rate and how many hours the agent actually saves you.

Is Claude Code free?

With locally hosted open-source models through Ollama, you can use Claude Code without an Anthropic subscription or API bill. For Anthropic's Claude models, as of 19 November 2026, it requires a Pro, Max, Ultra, Team, Enterprise or Console account, or access through a supported third-party API provider, and the free Claude.ai plan does not include it. Signing in with a free account gives you the chat product without the agent.

Another free route is a guest pass: eligible Pro, Max and Ultra subscribers have a limited number to share, and each gives someone new to paid Claude seven days of the Pro plan, Claude Code included. Recipients must enter payment information, and the trial converts to paid Pro unless cancelled before it ends. Without one, you can try one month of the entry paid plan. Whether Claude Code is included with Claude Pro goes through what a Pro plan does and does not cover.

What Claude Code is not

It is not a chat window. It edits files and runs commands on your machine, which is why it asks permission before actions that change something, and why many people run it in a container or on a server they can rebuild. It does not talk back at length either, since the transcript is closer to a work log than a conversation, and an output style rewrites the system prompt behind it when you want the agent to explain its reasoning as it goes.

It is not an IDE. There is no editor pane and no file tree. It attaches to the editor you already use, or to no editor at all.

It is not an autocomplete tool. It does not offer the next line while you type. The unit of work is a whole task, such as "find why this test is flaky and fix it". Handing over a whole task also hands over the scope of it, so when the agent keeps rewriting three files where one line would do, a rule like the Ponytail skill pushes it back toward the smallest change that works.

It is not itself a model. It is the agent that calls one: Anthropic's Claude models run remotely, while alternative open-source models can run on your disk through Ollama.

Readers often ask for a ChatGPT comparison at this point. That is the wrong axis. The chat products answer questions; Claude Code changes a repository. The comparison worth reading is against the other agents that also hold your file system, and Claude Code against Cursor, Codex and Copilot is that comparison.

FAQ

Is Claude Code free to use?

With locally hosted open-source models through Ollama, yes, without an Anthropic subscription or API bill. For Anthropic's Claude models, as of 19 November 2026 it needs a paid Claude plan (Pro, Max, Ultra, Team or Enterprise), an Anthropic Console account billed per token, or access through a supported third-party API provider. The free Claude.ai plan gives you the chat product without the agent. A guest pass from an eligible Pro, Max or Ultra subscriber gives someone new to paid Claude seven days of Pro with Claude Code included. Payment information is required, and the trial converts to paid Pro unless cancelled before it ends. Local inference through Ollama does not require a remote model server, but it uses alternative models rather than Claude, and features that fetch remote resources still need a connection.

Do I need to know the terminal to use Claude Code?

A little. You need to open a terminal, change directory into your project, and run claude. From there you type in plain language. If the terminal is the blocker, the desktop app and the browser version at claude.ai/code give you the same agent behind a graphical interface, but neither accepts every account the terminal does. The browser version needs a Claude subscription rather than a Console API key. The desktop app's Code tab supports Pro, Max, Ultra, Team and Enterprise subscriptions, with separate setup available for supported third-party providers. The browser version is open to Pro, Max, Ultra and Team plans and to Enterprise users with premium or Chat + Claude Code seats, signed in with a claude.ai account; users governed by custom roles also need the cloud sessions permission.

Does Claude Code send my code to Anthropic?

The parts it reads, yes, when you use Anthropic's service. The model runs remotely, so file contents the agent reads enter its requests to the model provider. Anthropic-hosted cloud sessions also clone your repository into a virtual machine before the agent reads it. With Ollama configured to use a locally hosted model, those model requests go to your local server instead. If that matters for a repository, start the agent in a directory that holds only what you are willing to send.

Can I leave Claude Code running while my computer is off?

Not on your own machine, because a terminal session dies with the terminal that owns it. Two ways around that. Run it on a VPS inside tmux, where the session survives the SSH disconnect and you reattach later. Or start a cloud task from the browser or the mobile app, where it runs on Anthropic's infrastructure by default instead of yours. That route needs a claude.ai sign-in on a plan that includes cloud sessions, not a Console API key.

Was this article useful?