从0开始学习Hermes Agent 一、安装1.安装git我的电脑已经安装了这里就忽略不懂的小朋友可以看看相关视频2.安装wslwsl是WSL Windows Subsystem for LinuxWindows 内置 Linux 子系统简单不用装虚拟机、不用双系统在 Windows 里直接跑原生 Linux。如果直接输入命令 wsl --install报错无法从“https://raw.githubusercontent.com/microsoft/WSL/master/distributions/DistributionInfo.json”提取列表分发。操作超时 错误代码: Wsl/InstallDistro/WININET_E_TIMEOUT。换第二种方式离线指定系统安装推荐绕过 Github 下载列表1先启用 WSL 依赖组件管理员 CMD/PowerShellpowershellwsl --install --enable dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart2不用wsl --install自动下载手动指定发行版安装powershell这个安装时间会比较长预计20分钟左右下载慢# 安装Ubuntu最常用 wsl --install -d Ubuntu # 备选Ubuntu-22.04 # wsl --install -d Ubuntu-22.04我运行了两次第一次到37.7%一直不动第二次才成功。3.安装hermes-agent先打开官网使用linux命令复制打开powershell输入wsl进入linux系统下输入命令curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash安装了py、检测了git安装了node在安装其他的虚拟环境依赖项安装完成之后就跳转到正式界面全部按照推荐走就行了选择第二个然后选择deepseek模型输入APIkey粘贴BaseURL直接回车即可选择V4pro其他不配置skip。最后跳转到hermes界面如果无法弹出在wsl下输入hermes这次配置完成。现在可以输入内容测试关于hermes使用我们在下篇文章继续讲解。二、第二种方式安装如果你不想安装wsl直接在win中安装hermes可行吗答案是可以的。https://raw.githubusercontent.com/NousResearch/hermes-gent/main/scripts/install.ps1这个命令是Hermes-Gent 是开源本地大模型这条是它官方一键安装脚本。但是报错了我们使用pip命令比如使用pip install hermes-agent -i https://mirrors.aliyun.com/pypi/simple/,可以安装了……安装完之后就可以配置了现在开始就和上面一样了。