Skip to main content
Claude Code brings the power of Claude AI into your development workflow. Ask it to fix bugs, implement features, refactor code, write tests, or orchestrate multi-agent pipelines — all from your terminal.

Quick Start

Get Claude Code running and write your first prompt in minutes.

Installation

Install Claude Code on macOS, Linux, or Windows.

Core Concepts

Understand sessions, tools, permissions, and memory.

CLI Reference

Every command, subcommand, and flag documented.

What Claude Code can do

Autonomous coding

Read, edit, and write files across your entire codebase. Run shell commands, manage git, and complete multi-file refactors end-to-end.

MCP integrations

Extend Claude Code with Model Context Protocol servers — connect to databases, APIs, and custom tools.

Multi-agent tasks

Spawn parallel sub-agents to tackle large codebases and complex workflows concurrently.

IDE integration

Works alongside VS Code, JetBrains, and Cursor with real-time file syncing and diff previews.

Hooks & automation

Run shell commands or LLM prompts automatically at tool lifecycle events.

SDK for automation

Embed Claude Code in your own programs with the TypeScript SDK.

Get started

1

Install Claude Code

Install via npm and authenticate with your Anthropic or Claude.ai account.
npm install -g @anthropic-ai/claude-code
claude
2

Open a project

Navigate to any code directory and start Claude Code.
cd ~/my-project
claude
3

Ask Claude to help

Type a task in natural language. Claude will read files, run commands, and make changes.
> Fix the failing tests in src/__tests__/
4

Review and iterate

Review diffs, accept or reject changes, and continue the conversation to refine results.
Claude Code requires Node.js 18+ and an Anthropic API key or Claude.ai Pro/Team subscription.

Build docs developers (and LLMs) love