Hermes 中文指南

安装与环境

在 Linux、macOS 或 WSL2 上安装 Hermes Agent,并了解目录布局

入门10 分钟官方文档
本文内容译自 Nous Research 官方文档,技术细节以英文原文为准。对照官方文档

快速安装

Linux / macOS / WSL2 上,使用官方一行安装脚本(跟踪 main 分支):

安装
curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash

安装完成后刷新 shell:

终端
source ~/.bashrc   # 或 source ~/.zshrc
hermes

安装器做了什么

安装器会自动处理:

  • uv 与 Python 3.11
  • Node.js 22(浏览器自动化、WhatsApp 桥接)
  • ripgrepffmpeg
  • 克隆仓库并创建虚拟环境
  • hermes 加入 PATH

不需要手动安装 Python 或 Node,只需系统上有 git

安装目录

方式代码位置数据目录
Git 安装(用户)~/.hermes/hermes-agent/~/.hermes/
pip 安装site-packages~/.hermes/

密钥写入 ~/.hermes/.env,普通配置在 ~/.hermes/config.yaml

安装后

终端
hermes model          # 选择模型与 Provider
hermes setup           # 或运行完整配置向导
hermes doctor         # 检查环境