安装指南

首次使用?按顺序来,5 分钟搞定

准备工作

1. 安装 Git(必需)

Claude Code 需要 Git Bash 才能启动。如果电脑上还没有,按下面的步骤装:

下载:https://git-scm.com/downloads/win

安装时注意:到 "Adjusting your PATH environment" 这一步时,必须选:

✅ Git from the command line and also from 3rd-party software

其他全部点下一步就行。

2. 获取 DeepSeek API Key

Claude Code 通过 DeepSeek 调用 AI,需要你注册获取 API 密钥:

  1. 打开 platform.deepseek.com
  2. 用手机号注册
  3. 左侧菜单 → API Keys → 创建新 Key → 复制(以 sk- 开头)
  4. 充值(建议先充 10 元试试,约能用 500-1000 次对话)

运行安装脚本

方法一:右键运行(推荐)

  1. 右键 install.ps1 → 属性 → 勾选解除锁定 → 确定
  2. 右键 install.ps1 → 使用 PowerShell 运行
  3. 输入激活码
  4. 等待安装完成(约 2-5 分钟)
  5. 按提示输入 DeepSeek API Key

方法二:命令行运行(右键运行闪退时用)

  1. 在脚本所在文件夹,按住 Shift + 右键空白处 → 在此处打开 PowerShell
  2. 输入:PowerShell -ExecutionPolicy Bypass -File .\install.ps1
  3. 回车运行

安装后验证

打开新的 PowerShell 窗口,输入claude

进去后输入/status,确认显示 Model: deepseek-v4-pro

还有问题?点击右下角"💬 反馈"按钮告诉我们