Windows版 Claude Code
July 10, 2025 · View on GitHub
无需WSL。无需Docker。纯Windows。
🌍 语言选择
English | 한국어 | 中文 | 日本語 | Русский | Español | Français | Deutsch
Claude Code 与 Windows 相遇。告别"需要WSL"错误,享受纯粹的生产力。

🚀 快速开始
# 全局安装 Claude Code
npm install -g @anthropic-ai/claude-code --ignore-scripts
# 运行
npx win-claude-code@latest
就是这样。 🎉
✨ 功能特点
- 绕过bash依赖检查 - 不再有终端检测失败
- 零配置 - 开箱即用
- 相同的Claude体验 - 所有功能完整保留
- Unix命令支持 - 通过Git Bash自动启用
grep、find、awk、sed等
🛠️ Unix命令(可选)
想要使用Unix命令?安装 Git for Windows,win-claude-code 会自动检测:
- 从 git-scm.com/download/win 下载
- 使用默认选项安装
- 运行
npx win-claude-code- Unix工具自动可用!
可用命令:grep、find、awk、sed、curl、wget、tar、ssh 等。
📋 系统要求
- Node.js 22+
- Windows 10/11
- Claude Code(已全局安装)
- Git for Windows(可选 - 用于Unix命令)
🐛 常见问题
# Claude Code未全局安装
"Claude Code package is not installed globally"
→ 运行: npm install -g @anthropic-ai/claude-code --ignore-scripts
# Unix命令无法工作
"grep is not recognized as an internal or external command"
→ 安装Git for Windows: https://git-scm.com/download/win
发现bug?在这里报告
📜 许可证
MIT
为拒绝使用WSL的开发者而生 😎