windows中Qwen3‑Coder 与 Claude Code 搭配使用

claude安装命令

bash 复制代码
npm install -g @anthropic-ai/claude-code

环境变量配置

bash 复制代码
set ANTHROPIC_BASE_URL=https://dashscope.aliyuncs.com/api/v2/apps/claude-code-proxy
set ANTHROPIC_AUTH_TOKEN=your-dashscope-apikey

可能还需要配置自己的git环境变量

查看git安装位置

按下Win + S打开搜索框

输入git.exe进行搜索

找到后右键选择 "打开文件位置",就能看到 Git 的安装目录

bash 复制代码
set CLAUDE_CODE_GIT_BASH_PATH=D:\software\Git\cmd

claude 启动

环境变量永久配置

或者在设置中找到环境变量永久配置,后续就不用每次都运行set命令

参考链接: https://qwenlm.github.io/zh/blog/qwen3-coder/

相关推荐
叼烟扛炮14 小时前
[LangChain] 学习笔记(06):突破大模型限制——结构化输出(Structured Output)
windows·笔记·学习·langchain
Thneonl1 天前
桌宠穿透不是一行 SetWindowLong
windows·程序员
艺杯羹2 天前
Windows原生软件锁设计:从暴力杀进程丢数据到零轮询事件驱动架构
windows·系统架构·开源·开源软件·内存管理·开源协议
csdn_aspnet2 天前
Redis 入门:Windows、Mac安装指南
数据库·windows·redis·缓存·mac
没差c3 天前
winsw将jar、nginx等注册为Windows服务
windows·nginx·jar
光谱SpectrAI3 天前
Claude Code 2.1.318 的隐私模块:4 条命令,拦了 2 条
windows
Hello_Pyhx3 天前
NWinfo 导出 Windows 硬件信息:从 JSON 报告到缺项排查
windows·json
百事牛科技4 天前
Excel的三种密码:防看、防存、防乱改,各管各的
windows·excel
the3clipse5 天前
MPC-HC 下载安装与最佳配置教程:免费开源、轻量无广告、支持 4K 硬解的 Windows 播放器
windows·播放器·安装教程·硬件加速·mpc-hc·字幕设置·lav filters
独隅5 天前
WebStorm Windows 版 React / Next.js 实战替换指南
javascript·windows·webstorm