一聚教程网:一个值得你收藏的教程网站

热门教程

Claude Code安装并切换DeepSeek大模型的操作步骤

时间:2026-07-01 10:02:48 编辑:袖梨 来源:一聚教程网

一、准备环境

1.1、安装 Node.js

Node.js 下载地址

1.2、设置 node.js npm 镜像仓库

# 打开 powershell 执行这个命令
npm config set registry https://registry.npmmirror.com

1.3、安装 Git

Git 官方下载地址

1.4、设置 Git 用户名和邮箱

# 打开 powershell 执行这个命令
git config --global user.name "你的用户名"
git config --global user.email "你的邮箱@example.com"

二、使用 ClaudeCode

2.1、安装 ClaudeCode

# 打开 powershell 执行这个命令
npm install -g @anthropic-ai/claude-code
# 完成后验证是否安装成功
claude --version

2.2、切换 DeepSeek 大模型

2.3、创建工程目录

热门栏目