Sandbox
@anthropics/claude-code

Terminal coding tool for Claude Code

Claude Code runs in your terminal and works against your codebase through natural language. It helps with code changes, explanations, and git workflows, and the repo also ships plugin examples and command files for extending how it behaves.

144,665 stars23k forksPythonUpdated 6d ago
What is Claude Code?
Claude9.1M views • 4 months ago

Videos about this repo

Who it's for

Builders who want Claude Code to read their repo, make edits, and manage routine coding work from the terminal.

What it delivers

You can hand routine coding, review, and git tasks to Claude Code without leaving your project.

What it does

Natural language coding in the terminal

Work with your repo by typing requests instead of stepping through commands manually.

Code explanation and routine tasks

Ask Claude Code to explain complex code and handle repetitive changes.

Git workflow help

Use Claude Code to manage common git tasks as part of development.

Plugin system

The `plugins/` directory includes packaged extensions such as code review, frontend design, security guidance, and commit commands.

Custom commands and agents

`.claude/commands` and `.claude-plugin` provide project-specific command and plugin setup.

How to get it

  1. 1MacOS/Linux (Recommended)
    curl -fsSL https://claude.ai/install.sh | bash
  2. 2Homebrew (MacOS/Linux)
    brew install --cask claude-code
  3. 3Windows (Recommended)
    irm https://claude.ai/install.ps1 | iex
  4. 4WinGet (Windows)
    winget install Anthropic.ClaudeCode
  5. 5NPM (Deprecated)
    npm install -g @anthropic-ai/claude-code

README

Claude Code

npm

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows -- all through natural language commands. Use it in your terminal, IDE, or tag @claude on Github.

Learn more in the official documentation.

Get started

[!NOTE] Installation via npm is deprecated. Use one of the recommended methods below.

For more installation options, uninstall steps, and troubleshooting, see the setup documentation.

  1. Install Claude Code:

    MacOS/Linux (Recommended):

    curl -fsSL https://claude.ai/install.sh | bash
    

    Homebrew (MacOS/Linux):

    brew install --cask claude-code
    

    Windows (Recommended):

    irm https://claude.ai/install.ps1 | iex
    

    WinGet (Windows):

    winget install Anthropic.ClaudeCode
    

    NPM (Deprecated):

    npm install -g @anthropic-ai/claude-code
    
  2. Navigate to your project directory and run claude.

Plugins

This repository includes several Claude Code plugins that extend functionality with custom commands and agents. See the plugins directory for detailed documentation on available plugins.

Reporting Bugs

We welcome your feedback. Use the /bug command to report issues directly within Claude Code, or file a GitHub issue.

Connect on Discord

Join the Claude Developers Discord to connect with other developers using Claude Code. Get help, share feedback, and discuss your projects with the community.

Data collection, usage, and retention

When you use Claude Code, we collect feedback, which includes usage data (such as code acceptance or rejections), associated conversation data, and user feedback submitted via the /bug command.

How we use your data

See our data usage policies.

Privacy safeguards

We have implemented several safeguards to protect your data, including limited retention periods for sensitive information, restricted access to user session data, and clear policies against using feedback for model training.

For full details, please review our Commercial Terms of Service and Privacy Policy.

Files in the repo

Repository payload18 top-level entries
  • .claude
  • .claude-plugin
  • .devcontainer
  • .github
  • .vscode
  • examples
  • mods
  • plugins
  • Script
  • scripts
  • .gitattributes
  • .gitignore
  • CHANGELOG.md
  • demo.gif
  • feed.xml
  • LICENSE.md
  • README.md
  • SECURITY.md

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More tools

JuliusBrussee/
caveman

🪨 why use many token when few token do trick — Claude Code skill that cuts 65% of tokens by talking like caveman

105k
1 add
MemPalace/
mempalace

The best-benchmarked open-source AI memory system. And it's free.

59k
stablyai/
orca

Orca is the ADE for working with a fleet of parallel agents. Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.

66k

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

132k

Never stop coding. Free MIT AI gateway: one endpoint, 352 providers (150+ free), 1200+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 550+ contributors

64k
headroomlabs-ai/
headroom

Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.

71k