Skip to main content
Claude Code is a powerful CLI tool that brings the full capabilities of Claude’s AI directly into your terminal. With 40+ built-in tools, 100+ slash commands, and multi-agent orchestration, it can read, write, and edit files autonomously, execute shell commands, search codebases, and manage complex multi-step development tasks.

Quickstart

Get Claude Code running in your terminal in minutes

Installation

Detailed installation instructions for all platforms

Built-in Tools

Explore the 40+ tools Claude Code uses autonomously

Slash Commands

Reference for all 100+ slash commands

What Claude Code can do

Claude Code operates as an agentic coding assistant that understands your project context and can take action on your behalf.

File Operations

Read, write, and edit files with AI-powered precision

Shell Execution

Run commands, scripts, and manage your dev environment

Code Search

Search codebases with grep, glob, and ripgrep integration

Multi-Agent

Orchestrate teams of AI agents for complex tasks

MCP Servers

Connect to Model Context Protocol servers for extended capabilities

Session Management

Resume, branch, and teleport sessions across machines

Get started

1

Install Claude Code

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

Authenticate

Run Claude Code and authenticate with your Anthropic account or API key:
claude
Follow the OAuth flow or set ANTHROPIC_API_KEY in your environment.
3

Navigate to your project

Change to your project directory and start Claude Code:
cd /path/to/your/project
claude
4

Start coding with AI

Type a natural language request and Claude Code will get to work:
> Refactor the authentication module to use JWT tokens
Claude Code works best when run from your project’s root directory — it uses the working directory to understand your project structure and apply changes in context.

Build docs developers (and LLMs) love