Skip to main content
Claude Code is an interactive CLI tool that brings Anthropic’s Claude AI directly into your development workflow. Ask Claude to understand your codebase, make edits, run terminal commands, handle entire git workflows, and much more — all from your terminal.

Quick Start

Get Claude Code installed and running your first session in minutes

Installation

Install via npm and configure authentication for your environment

Interactive Mode

Learn the interactive REPL and how to work with Claude effectively

Command Reference

Browse every command, flag, and option available in Claude Code

What Claude Code can do

Edit Files

Read, write, and edit files across your entire codebase with context-aware changes

Run Commands

Execute bash commands, run tests, and interact with your development environment

Search Code

Search with glob patterns and regex across large codebases instantly

Git Workflows

Commit, create branches, manage PRs, and review diffs with AI assistance

Multi-Agent Tasks

Spawn parallel sub-agents to tackle complex multi-step engineering tasks

MCP Integration

Connect external tools and data sources via Model Context Protocol servers

Get started

1

Install Claude Code

Install the package globally via npm:
npm install -g @anthropic-ai/claude-code
2

Authenticate

Run Claude Code and complete the OAuth login flow, or set your API key:
claude
3

Start your first session

Navigate to your project directory and start asking Claude for help:
cd my-project
claude "explain what this codebase does"
4

Explore features

Learn about session management, MCP servers, hooks, and more.
Claude Code requires Node.js 18 or higher. For full setup instructions, see the Installation guide.

Build docs developers (and LLMs) love