officialrepo

anthropics/claude-code

★ 157k starsTypeScriptPublic
View on GitHub ↗

A community setup & usage guide for the Claude Code GitHub repository. Official repo: anthropics/claude-code

Claude Code is an agentic coding tool that lives in your terminal.

What is Claude Code?

Claude Code is Anthropic's command-line coding agent. It reads your codebase, edits files, runs commands, and ships changes from the terminal, driven by Claude. It also works inside VS Code and JetBrains IDEs.

Installation

Native installer (recommended)
curl -fsSL https://claude.ai/install.sh | bash
Homebrew
brew install --cask claude-code
npm
npm install -g @anthropic-ai/claude-code@latest
PowerShell (recommended)
irm https://claude.ai/install.ps1 | iex
WinGet
winget install Anthropic.ClaudeCode
npm
npm install -g @anthropic-ai/claude-code@latest
Native installer (recommended)
curl -fsSL https://claude.ai/install.sh | bash
npm
npm install -g @anthropic-ai/claude-code@latest
Run it
claude
Verify
claude --version

Usage

Start in your project
cd your-project && claude
Ask it to do something
claude "refactor the auth module and add tests"

Before you start

A Claude Pro, Max, Team, or Enterprise plan, or API access. The npm route needs Node.js 22+.

Official repository: github.com/anthropics/claude-code

FAQ

Is Claude Code free?

It's included with paid Claude plans and available via the API with usage billing. The free plan does not include it.

Does it work in my editor?

Yes — there are official VS Code and JetBrains integrations in addition to the terminal.

Where is the official Claude Code GitHub repository?

The official Claude Code GitHub repo is hosted at github.com/anthropics/claude-code. This page links straight to it and summarises how to install and use Claude Code.

Is this the official Claude Code repo?

No. officialrepo.com is an independent community guide. The official Claude Code GitHub repository is github.com/anthropics/claude-code — always treat that repo and its documentation as the source of truth.

This is an independent community guide. Claude Code and its logo are trademarks of their respective owner; officialrepo.com is not affiliated with or endorsed by the project or GitHub, Inc. The link above points to the genuine official repository.