Windows 安装指南
本指南将帮助您在 Windows 10 及以上系统中安装 Claude Code。
系统要求
- Windows 10 或更高版本
- PowerShell 5.1 或更高版本
- 网络连接
安装步骤
1. 安装 Node.js
首先,您需要安装 Node.js。访问 Node.js 官网 下载并安装 LTS 版本。
2. 安装 Claude Code
打开 PowerShell 或命令提示符,运行以下命令:
bash
npm install -g @anthropic/claude-code3. 验证安装
运行以下命令验证安装是否成功:
bash
claude --version4. 配置 API Key
首次运行时,您需要配置 Anthropic API Key:
bash
claude config按照提示输入您的 API Key。
下一步
安装完成后,您可以查看 配置说明 来进一步自定义您的 Claude Code。