三亩地 三亩地SAN MU DI · CODE DIARY
ARTICLE DETAIL

日记详情

真实记录编程学习的某一天,欢迎挑你感兴趣的翻一翻。

ClaudeCode 安装加切换 DeepSeek 大模型

ClaudeCode 安装加切换 DeepSeek 大模型

ClaudeCode 安装加切换 DeepSeek 大模型

一、准备环境

1.1、安装 Node.js

Node.js 下载地址

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

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

1.3、安装 Git

Git 官方下载地址

1.4、设置 Git 用户名和邮箱

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

二、使用 ClaudeCode

2.1、安装 ClaudeCode

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

2.2、切换 DeepSeek 大模型



2.3、创建工程目录



← 返回列表