anthropics /claude-code
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
+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
#16157[BUG] Instantly hitting usage limits with Max subscription1499 comments · 2026-01-03#38335[BUG] Claude Max plan session limits exhausted abnormally fast since March 23, 2026 (CLI usage)879 comments · 2026-03-24#34229[BUG] Phone verification743 comments · 2026-03-14#826[BUG] Console scrolling top of history when claude add text to the console354 comments · 2025-04-19#27302[FEATURE] Support multiple Connector accounts (same connector, different accounts) in Claude and Claude Code on the web (claude.ai/code)309 comments · 2026-02-21#769[BUG] In-progress Call causes Screen Flickering306 comments · 2025-04-12#45596Bring Back Buddy — A Consolidated Plea from the Community287 comments · 2026-04-09#91870Mods - make Claude 10x more extensible277 comments · 2026-09-03
Latest release
v2.1.325 v2.1.325 2026-11-13What'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-08News & coverage (19)
Hacker NewsTell HN: Claude Code adds your email to the prompt, the LLM sends it to websites▲ 43 · 5 comments · 2026-10-29Hacker NewsTell HN: Claude claims the AGPLv3 license violates it's content policy▲ 17 · 0 comments · 2026-05-10Hacker NewsClaude Code dies with ANTHROPIC_API_KEY in cloud environment▲ 16 · 3 comments · 2026-04-30Hacker NewsTell HN: Check your Claude settings, it may have silently enabled remote access▲ 7 · 6 comments · 2026-09-04Hacker NewsTell HN: Anthropic should make Claude the Author and me the Co-Author▲ 5 · 5 comments · 2026-09-07TechSpotClaude Code's "don't ask again" button is leaking passwords and API keys to public GitHub repos2026-11-10Ars TechnicaClaude Code is accidentally exposing secrets all over GitHub2026-11-09Crypto BriefingClaude Code leaks over 1,300 secrets into public GitHub repositories2026-11-09VentureBeatDid Claude Code’s ‘don’t ask again’ option accidentally expose your enterprise's passwords and keys?2026-11-09NotebookcheckClaude Code leaks thousands of secrets on GitHub2026-11-09