前置
1.安装Git Claude Code 是一个强大的 AI 编程工具,支持在 Windows 系统上运行,但其运行环境依赖于 Git Bash 提供的功能
2.安装NodeJS Claude Code 其实就是 npm 里面的一个包,推荐 20+LTS 以上版本
安装Claude Code
# 安装
npm install -g @anthropic-ai/claude-code
# 检查是否成功
claude --version
# 执行
claude
...大约 2 分钟
1.安装Git Claude Code 是一个强大的 AI 编程工具,支持在 Windows 系统上运行,但其运行环境依赖于 Git Bash 提供的功能
2.安装NodeJS Claude Code 其实就是 npm 里面的一个包,推荐 20+LTS 以上版本
# 安装
npm install -g @anthropic-ai/claude-code
# 检查是否成功
claude --version
# 执行
claude