Skip to main content
Claude Code is Anthropic’s official CLI tool that brings the power of Claude directly into your terminal. Tell it what you want to accomplish and it executes the steps: reading your codebase, editing files, running shell commands, creating commits, reviewing PRs, and more — all without leaving your workflow.

Quick Start

Install Claude Code and run your first command in under 5 minutes.

Installation

Detailed installation instructions for all platforms.

Core Concepts

Understand how Claude Code works: tools, permissions, and memory.

Command Reference

Every slash command with flags, examples, and behavior details.

What Claude Code can do

Edit files

Read, write, and precisely edit any file in your codebase using string replacement.

Run shell commands

Execute bash commands, run tests, start servers — anything you’d do in a terminal.

Git workflows

Commit changes, review PRs, create branches, and view diffs through natural language.

Search your codebase

Use ripgrep-powered search and glob patterns to navigate large codebases instantly.

MCP integrations

Connect external tools and data sources via Model Context Protocol servers.

Multi-agent swarms

Spawn parallel sub-agents to tackle complex tasks concurrently.

Get started

1

Install Claude Code

Install via npm using Bun or Node.js:
npm install -g @anthropic-ai/claude-code
2

Authenticate

Run Claude Code for the first time and follow the OAuth login prompt:
claude
3

Start coding

Open any project directory and describe what you want to do:
cd my-project
claude "Fix the failing tests in the auth module"
4

Explore commands

Inside the REPL, type /help to see all available slash commands, or /doctor to check your environment setup.
Claude Code requires an active Anthropic account. Run claude to start the REPL, then type /login to authenticate, or /doctor to diagnose any setup issues.

Build docs developers (and LLMs) love