This repository contains the full source code of Anthropic's Claude Code CLI — a TypeScript/Bun application that brings Claude directly into the terminal for software engineering tasks. The terminal UI is built on a custom fork of React+Ink, commands are parsed with Commander.js, and the codebase spans 1,884 TypeScript files and 512K+ lines of code across 42 tools, 103+ slash commands, and 20+ services.
For full documentation see docs/index.md.
| Section | Description |
|---|---|
| Getting Started | Commands, config, permissions, plugins |
| Architecture | Internals, subsystems, data flow |
| Extending | Plugins, skills, MCP, LSP, IDE bridge |
| Reference | Tools, commands, flags, hooks, services |