A community-driven registry for Claude, Cursor, Windsurf, Cline & more. Not affiliated with Anthropic.
Are you the author? Sign in to claim
Claude Code CLI 中文教程 - 从入门到精通,涵盖配置、Hooks、Skills、MCP集成及企业级最佳实践。
一本系统、深入、实用的 Claude Code 智能编程工具教程
内容以 Claude 3.5 / 4.5 及之后的最新模型能力为参考编写
本书是一本全面介绍 Claude Code(Anthropic 官方智能编程工具)的技术教程,旨在帮助开发者从零开始掌握这一强大的 AI 编程助手工具。无论您是初次接触 AI 辅助编程的新手,还是希望深入挖掘 Claude Code 高级功能的资深开发者,本书都将为您提供系统性的知识体系和实践指导。
Claude Code 是 Anthropic 公司推出的 Agentic Coding Tool(智能编程工具),通过 npm 包 @anthropic-ai/claude-code 分发。它能够:
| 时间 | 更新内容 |
|---|---|
| 2025年2月 | Claude 3.7 Sonnet 发布(首款混合推理模型),Claude Code 首发 |
| 2025年5月 | Claude 4 系列发布(Opus 4、Sonnet 4) |
| 2025年7月 | 远程 MCP 服务器支持 |
| 2025年9月 | Claude Sonnet 4.5 与 Claude Agent SDK 推出 |
| 2025年10月 | Claude Haiku 4.5 发布 |
| 2025年11月 | Claude Opus 4.5 上线,面向复杂编码场景的旗舰模型 |
# 推荐:使用官方安装脚本
curl -fsSL https://claude.ai/install.sh | bash
# 进入你的项目目录
cd your-project
# 启动 Claude Code
claude
如果你所在的环境更适合通过 npm 安装,也可以使用:
# 可选:通过 npm 全局安装
npm install -g @anthropic-ai/claude-code
claude --version
claude
部分功能可能随版本更新而变化,建议读者结合官方文档获取最新信息。
如发现内容错误或有改进建议,欢迎提出反馈。
Blocks dangerous git and shell commands from being executed by AI coding agents
Runtime failure resolution for coding agents. Hooks into Claude Code and Codex. Catches loops, dangerous actions, and se
Give Claude Code memory that evolves with your codebase via hooks and LLM-compiled knowledge
Rule enforcement plugin — save rules with natural language, enforce with 17 lifecycle hooks