Claude AI Get started

Claude Code — AI-Powered Coding Assistant in Your Terminal

Claude Code is the command-line interface that puts the Claude AI model family to work on your actual project files — reading code, editing files, running commands, and pushing pull requests without leaving the terminal.

Fast path

If you already know what Claude Code is and just need the install command, go to the install reference. This page is the overview for engineers who want to understand the scope of the tool before committing to a workflow change.

What Claude Code is

Claude Code is a terminal-first AI coding assistant that interacts with your project at the file system level. You open a session, describe a task in plain language, and the tool reads relevant files, proposes and executes edits, runs tests, and reports back. The model powering the session is one of the Claude AI family — Opus, Sonnet, or Haiku — selected based on your account plan and any flag you pass at session start.

The defining characteristic that separates claude code from a chat window or a browser-based coding tool is that it operates directly on disk. Changes appear in your editor immediately. Shell commands run in your actual environment. Test output is real. You are not working in a sandbox or a simulated project; you are working in your repository, with your toolchain, and the AI is a participant in that process rather than a spectator suggesting code you copy elsewhere.

What Claude Code does during a session

A single claude code session can span many operations without a page reload or context reset. The sequence for a typical refactor task looks like this: the tool reads the files you describe, builds a mental model of the code structure, proposes a change plan, executes the edits, runs the affected tests, and — if a test fails — iterates on the fix until the suite passes or surfaces an error that needs human input. That cycle takes seconds per iteration rather than minutes, and the feedback loop is tight enough to feel collaborative rather than automated.

Beyond file edits, claude code can execute arbitrary shell commands: running a build pipeline, calling a linter, generating migrations, or invoking external CLIs that your project already depends on. This makes it useful for tasks that are not purely about writing code — release preparation, changelog generation, dependency audits, and documentation maintenance all sit inside the same conversational interface.

How Claude Code compares to IDE-based assistants

The comparison is worth spelling out because the use cases overlap without being identical. IDE plugins — the kind that add AI completions or chat panels inside Visual Studio Code or JetBrains products — work at the line or function level. They are fast, context-aware in a narrow window, and excellent for interactive writing where you want a suggestion every few keystrokes. Claude code works at a different granularity: multi-file, multi-step operations where the task is too large to describe as a completion prompt and the output is a set of coordinated edits across the project.

The two approaches also differ on automation. An IDE plugin assists a human doing the work; claude code can execute a complete task with minimal supervision if the instruction is clear. That difference matters for CI pipelines, batch refactors, and automated review passes, where there is no human at a keyboard during execution. Researchers at MIT CSAIL have published work on the performance characteristics of AI-assisted development workflows at scale, which provides useful grounding if you are evaluating the approach for a larger team.

Capability overview

The table below summarises what claude code can do, the relevant detail for each capability, and where to begin if you want to explore further.

CapabilityDetailsWhere to start
File editingReads and rewrites source files across any language; diffs shown before commitFeatures reference
Shell executionRuns build commands, tests, linters, and arbitrary shell scripts in your environmentShell section
SkillsReusable capability packs (markdown + tool manifest) that extend the CLI on demandSkills reference
Sub-agentsThe CLI can spawn specialised agents for parallel or delegated work within a sessionAgent docs
MCP integrationModel Context Protocol lets external tools register context providers and action handlersMCP section
Team workflowsShared skills, shared config, and review patterns across a squadTeams page

Getting started with Claude Code

The shortest path to a working session is three steps: install Node.js if you do not already have a recent version, run the package install command for claude code, and authenticate with your API key. The install reference walks through the exact commands for each operating system, including the Windows PowerShell and WSL variants. Once the binary is on your path, the first session can start immediately — there is no project-level setup required, though adding a configuration file unlocks persistent preferences and team settings.

If you are evaluating claude code for a team rather than for personal use, the teams reference covers shared skill registries, per-repository config, and the review workflows that give you visibility into what the AI is changing. The enterprise page goes further with SSO, audit trails, and policy controls for regulated environments.

Model selection inside Claude Code

By default, claude code uses the model tier associated with your account. You can override this at the session level with a flag. Opus delivers the most thorough multi-file reasoning but runs at higher latency; Sonnet is the balanced choice for daily development; Haiku handles high-volume lightweight tasks at the lowest cost. The models overview keeps those comparisons current alongside context window and pricing notes.

Choosing the right model matters more than it first appears. A team running Opus for every routine task will accumulate unnecessary cost; a team defaulting to Haiku for complex refactors will hit reasoning limits that show up as incomplete or incorrect edits. The practical recommendation is to profile a typical week of work, identify which task types need long-context reasoning, and set model flags per workflow rather than per session. That one configuration decision typically cuts the weekly bill by a third without touching quality on the tasks that actually need it.

Terminal-first workflow

Why developers prefer the CLI over the chat window

Chat windows produce text. Claude Code produces working commits. That distinction sounds simple but it changes the whole shape of the workflow: instead of reading a code suggestion and manually applying it, you describe the goal and the CLI does the apply step, runs your tests, and reports the result. The human stays in the loop at the decision level, not the keystroke level. For engineers who ship multiple pull requests a day, that difference in friction is significant — not because individual tasks take much longer in a chat window, but because the context-switching cost adds up across a full session.

The terminal framing also means claude code integrates naturally with the tools you already use. It can call your linter, invoke your migration tool, run your test suite, and commit with your configured signing key. Nothing in the workflow requires a new web app or a new tab; the AI becomes one more participant in the shell session you already had open.

Install Claude Code now →
"We benchmarked three AI coding tools before settling on Claude Code. The terminal-first approach meant we could wire it directly into our existing CI pipeline without adding another browser dependency to the team workflow."
— Gabriela F. RochefordDevOps Architect · Sumerian Freight · Montreal

Common questions about Claude Code

What exactly is Claude Code and what does it do?

Claude Code is a command-line assistant that uses the Claude AI model family to read source files, edit code, and run shell commands inside your project. You interact through a terminal session, describing tasks in plain language, and it makes targeted changes to the codebase rather than producing text you have to copy elsewhere.

How does Claude Code compare to IDE-based AI assistants?

IDE plugins suggest completions or snippets inline, working at the line or function level. Claude Code works from the terminal, spans many files in a single pass, executes shell commands, and runs tests. The terminal path suits automation-heavy workflows and headless servers; the IDE path suits interactive line-by-line writing. Many teams use both.

Which operating systems support Claude Code?

Claude Code runs on macOS, Linux, and Windows. Windows has two variants: native PowerShell and a WSL-based route. All three platforms share the same Node.js prerequisite and the same core install command. Detailed per-OS instructions live on the install page.

Does Claude Code require a paid plan?

Claude Code is a CLI client that inherits whatever quota your account carries. A free account gives limited daily usage; paid plans increase session length and remove the daily cap. The CLI itself does not add a separate charge on top of your account tier.

What is the difference between Claude Code skills and regular commands?

Skills are packaged capability extensions — a markdown description paired with a tool manifest — that the CLI loads on demand. A regular command is an ad-hoc prompt you type in the session. Skills are repeatable, shareable, and version-controllable; they travel with the repository and can be shared across a team.

Related topics

Getting claude code installed is the natural first step, and the install hub covers the Windows variant, the standard macOS path, and Linux. Once the binary is on your path, the features reference walks through file editing, shell execution, MCP, and sub-agents in detail. For teams moving beyond individual use, the teams page covers shared skills and review patterns, while enterprise controls adds SSO and audit logs for larger organisations. The skills reference is the right destination for anyone who wants to package a repeatable workflow.

Model selection feeds directly into claude code usage: the models overview compares Opus, Sonnet, and Haiku on context window and cost, and the API reference covers the HTTP layer for teams that call the model directly rather than through the CLI. The free tier page clarifies what daily limits apply before a paid plan becomes necessary. New users who searched for a higher-level overview should read the claude code AI primer, and the download reference lists which package artefacts to expect on each platform.

Ready to put Claude Code to work?

Start with the install guide for your operating system, then come back for the features and skills references when you are ready to go further.

Open the install guide