Nous Research 出品 · MIT 开源 · 全球 22万+ star
先看下表,找对适合你的安装方式:
| 你的系统 | 推荐安装方式 |
|---|---|
| Windows 10/11 | Hermes Desktop 桌面版(双击安装) |
| macOS | Hermes Desktop 桌面版 或 命令行脚本 |
| Linux / 云服务器 / WSL2 | 一行命令脚本(最推荐) |
| 手机 Android | Termux 终端(功能略少) |
打开官方下载页:
https://hermes-agent.nousresearch.com/
点击 Download,下载对应系统的安装包(Windows 为 .exe,macOS 为 .dmg)。
桌面版自带命令行,如果想单独启用命令行模式,终端里输入:
hermes desktop
打开终端,输入:
git --version
sudo apt update && sudo apt install git curl xz-utils
xcode-select --install
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
这行命令会自动完成所有事(约 2-3 分钟,不用手动装任何东西):
uv(Python 包管理工具)~/.hermes/hermes-agent/hermes 命令source ~/.bashrc hermes doctor
hermes: command not found,说明 PATH 没刷新,重新运行 source ~/.bashrc(用 zsh 就执行 source ~/.zshrc)。
如果你的 Windows 环境已准备好,在 PowerShell 里运行:
iex (irm https://hermes-agent.nousresearch.com/install.ps1)
官方对 Windows 更推荐桌面版或 WSL2,此方式适合有经验的用户。
Hermes 本身不带模型,必须接入一个大模型才能对话。四种方式任选其一:
hermes setup --portal
hermes model
选 OpenRouter,粘贴 openrouter.ai 申请的 Key,再选一个模型即可。
hermes model
选对应厂商,粘贴平台申请的 API Key。国内用户推荐 DeepSeek(直连、便宜)。
hermes model
选 Ollama,全程本地运行、不联网、数据不出电脑。缺点是复杂任务表现一般。
在终端输入:
hermes
进入对话界面,像聊天一样指挥它干活。
hermes tools — 开关工具(文件、浏览器、代码等)hermes gateway setup — 接入微信/Telegram/Discord,手机远程指挥hermes config set — 修改单项配置hermes update — 更新到最新版hermes gateway install — 开机自启(服务器场景)Q: hermes: command not found?
A: 运行 source ~/.bashrc 刷新终端,或检查 PATH。
Q: API key not set?
A: 运行 hermes model 重新配置模型。
Q: 更新后配置丢失?
A: 运行 hermes config check 然后 hermes config migrate。
Q: 浏览器工具用不了?
A: 需要 Chromium 依赖库,运行 sudo npx playwright install-deps chromium。
Q: 我的数据安全吗?
A: 所有数据(记忆、技能、会话)都存本地 ~/.hermes/,无遥测、无追踪,只有发给大模型的内容会出网(本地 Ollama 则完全不出网)。
如果安装过程中遇到问题,可以:
© 2026 龙虾AI · claw-ai.cc