window 11安装Hermes Agent【非WSL方式】
一、准备:
window 11
python 3.11+
PortableGit
uv package manager:一站式项目与包管理器
二、打开 PowerShell:
- 点击 Windows 开始菜单,在搜索框中输入
PowerShell。在搜索结果中,右键点击 “Windows PowerShell”,选择 “以管理员身份运行”。
2、执行命令:
PS C:\Users\Administrator> irm https://ghfast.top/https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.ps1 | iex
┌─────────────────────────────────────────────────────────┐
│ ⚕ Hermes Agent Installer │
├─────────────────────────────────────────────────────────┤
│ An open source AI agent by Nous Research. │
└─────────────────────────────────────────────────────────┘
→ Checking for uv package manager...
✓ uv found at C:\Users\Administrator\.local\bin\uv.exe (uv 0.11.14 (3fdfdc7d4 2026-05-12 x86_64-pc-windows-msvc))
→ Checking Python 3.11...
→ Python 3.11 not found, installing via uv...
⚠ uv python install error: Downloading cpython-3.11.15-windows-x86_64-none (download) (24.5MiB)
→ Trying to find any existing Python 3.10+...
✓ Using system Python: Python 3.14.5
→ Checking Git...
✓ Git found (git version 2.54.0.windows.1)
→ Set HERMES_GIT_BASH_PATH=C:\Program Files\Git\bin\bash.exe
→ Checking Node.js (for browser tools)...
→ Node.js not found — installing Node.js 22 LTS...
→ Installing via winget...
✓ Node.js v24.15.0 installed via winget
→ Checking ripgrep (fast file search)...
→ Checking ffmpeg (TTS voice messages)...
→ Installing ripgrep for faster file search and ffmpeg for TTS voice messages via winget...
→ Trying Chocolatey...
✓ ripgrep installed via chocolatey
✓ ffmpeg installed via chocolatey
→ Installing to C:\Users\Administrator\AppData\Local\hermes\hermes-agent...
→ Configuring git for Windows compatibility...
→ Trying SSH clone...
Cloning into 'C:\Users\Administrator\AppData\Local\hermes\hermes-agent'...
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
→ SSH failed, trying HTTPS...
Cloning into 'C:\Users\Administrator\AppData\Local\hermes\hermes-agent'...
remote: Enumerating objects: 81092, done.
error: RPC failed; curl 56 Recv failure: Connection was reset
error: 3481 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
⚠ Git clone failed — downloading ZIP archive instead...
✗ ZIP download also failed: 无法连接到远程服务器
✗ Installation failed: Failed to download repository (tried git clone SSH, HTTPS, and ZIP)
→ If the error is unclear, try downloading and running the script directly:
Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.ps1' -OutFile install.ps1
.\install.ps1
三、踩坑:
安装过程把360关闭掉,可能会拦截,导致安装失败或者缓慢。
结果:放弃,依赖东西多,国外网站下载慢,搞了1天,各种踩坑。
AtomGit 是由开放原子开源基金会联合 CSDN 等生态伙伴共同推出的新一代开源与人工智能协作平台。平台坚持“开放、中立、公益”的理念,把代码托管、模型共享、数据集托管、智能体开发体验和算力服务整合在一起,为开发者提供从开发、训练到部署的一站式体验。
更多推荐



所有评论(0)