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.

★ 155,768⑂ 25,012👁 909⑃ 1,332● 106,919▤ 264
TypeScriptCreated 2025-02-22code.claude.com/docs/en/overview
下载:v2.1.325v2.1.325 ↓2.1.3252026-11-13
+106
日增长
+713
周增长
+5,376
月增长
155,768
stars
25,012
forks
909
watchers
1,332
prs
106,919
issues
264
releases

README

Claude Code

! [![npm]](https://www.npmjs.com/package/@anthropic-ai/claude-code)

[npm]: https://img.shields.io/npm/v/@anthropic-ai/claude-code.svg?style=flat-square

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):
    bash
    curl -fsSL https://claude.ai/install.sh | bash
    

    Homebrew (MacOS/Linux):
    bash
    brew install --cask claude-code
    

    Windows (Recommended):
    powershell
    irm https://claude.ai/install.ps1 | iex
    

    WinGet (Windows):
    powershell
    winget install Anthropic.ClaudeCode
    

    NPM (Deprecated):
    bash
    npm install -g @anthropic-ai/claude-code
    

2. Navigate to your project directory and run claude.

 Plugins

Anthropic's Claude Code plugins are developed in claude-plugins-official. See the plugins directory for more about 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.

Top issues

Latest release

v2.1.325 v2.1.325 2026-11-13
What's changed

- Fixed a security issue in how zstd-compressed responses are decoded
- Added a spinner tip in VS Code and similar integrated terminals about re-running a notebook cell, shown once Claude has read or edited a Jupyter notebook
- Added a line under the error shown when your organization's policy blocks a request, saying how to continue: run /rewind and change the message, or run /clear
- Added a note for Claude when a sandboxed git checkout, git stash or autostash pull cannot update protected files such as those in .claude
- Fixed /security-review and skills' inline git commands 

相关报道 (15)

動區動趨Claude Code「不再詢問」可能讓密碼上 GitHub,資安公司發現上千組外流2026-11-10理財周刊AI程式碼工具Claude Code資安漏洞 GitHub上千機密外洩2026-11-09abmediaClaude Code「不再詢問」把密碼存進設定檔,GitHub 逾千份外洩2026-11-08cyberqClaude Code 的「不要再問」選項,讓密碼外洩到 1,122 個公開 GitHub 檔案2026-11-07cyberqClaude Code 把電子郵件塞進 User-Agent,AI 代理成新資料外洩面2026-11-05動區動趨高盛限縮員工用 Claude Code!只剩工程師能用、交易員不爽2026-11-04動區動趨開發工具 Postman 會自動幫 AI 代理裝外掛,不需開發者批准同意2026-11-04凤凰网科技官方正在修复:Claude Code被爆把密码写进项目文件,GitHub上发现2539个真实凭据2026-11-10TradingViewClaude Code 被曝将密码写入设置文件,GitHub 现 2539 个真实凭据2026-11-10搜狐网Anthropic 的 Claude Code 设置文件在 GitHub 上泄露敏感信息 |#AI资讯# #Anthropic# #代码泄露#2026-11-09
展开其余 5 条Mezha.netClaude Code 设置文件在 GitHub 上泄露数千条凭据2026-11-09news.lavx.huClaude Code 在公共 GitHub 仓库中暴露了数千个凭证2026-11-09智源社区GitGuardian 独立复核Claude Code 密钥泄露:公开 GitHub 23,276 个仓库含31,088 个密钥、17% 检测时仍有效,Docker Hub 镜像另涉613 个2026-11-09CSDNGitHub Trending周报:MCP协议与Claude Code生态引领AI编程代理新趋势2026-11-08Pasquale PillitteriClaude Code 在 1,122 个 GitHub 文件中泄露密码和 API 密钥2026-11-08

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON