🔥 Claude Code:终端里的代理式编程工具
英文标题:🔥 anthropics/claude-code
Claude Code 是 Anthropic 推出的代理式编程工具,可直接在终端中运行并理解整个代码库。它通过自然语言命令执行常规任务、解释复杂代码以及处理 Git 工作流,大幅提升开发效率。目前提供多种安装方式与可扩展插件,并在终端、IDE 和 GitHub 中均可使用,同时明确了数据收集与隐私保护政策。
中文
Claude Code 是一款运行在终端中的代理式编程工具,能够理解你的代码库,通过自然语言命令帮助你更快速地编写代码——执行常规任务、解释复杂代码并处理 Git 工作流。你可以在终端、IDE 中使用它,或在 GitHub 上 @claude。
更多信息请参阅官方文档。
Note
通过 npm 安装的方式已弃用,请使用下方推荐的安装方法。
更多安装选项、卸载步骤及故障排除,请参阅设置文档。
-
安装 Claude Code:
macOS/Linux(推荐):
curl -fsSL https://claude.ai/install.sh | bash
Homebrew(macOS/Linux):
brew install --cask claude-code
Windows(推荐):
irm https://claude.ai/install.ps1 | iex
WinGet(Windows):
winget install Anthropic.ClaudeCode
NPM(已弃用):
npm install -g @anthropic-ai/claude-code
-
进入项目目录并运行
claude。
本仓库包含多个 Claude Code 插件,可通过自定义命令和代理扩展功能。请参阅插件目录了解可用插件的详细文档。
我们欢迎你的反馈。在 Claude Code 中使用 /bug 命令直接报告问题,或提交 GitHub issue。
加入 Claude Developers Discord 与其他使用 Claude Code 的开发者交流,获取帮助、分享反馈并讨论你的项目。
数据收集、使用与保留
当你使用 Claude Code 时,我们会收集反馈,包括使用数据(如代码接受或拒绝情况)、相关对话数据以及通过 /bug 命令提交的用户反馈。
请参阅我们的数据使用政策。
我们已实施多项保护措施来保障你的数据,包括对敏感信息设定有限保留期、限制对用户会话数据的访问,并明确禁止将反馈用于模型训练。
English / 原文
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 theofficial documentation.
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.
- 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
- Navigate to your project directory and run
claude.
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.
We welcome your feedback. Use the /bug command to report issues directly within Claude Code, or file a GitHub issue.
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.
See our data usage policies.
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.
