安装
# 安装依赖
sudo apt update
sudo apt install -y build-essential python3-dev libssl-dev libffi-dev rustc cargo pkg-config
# 安装脚本
curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash
使用
# 修改相关配置
cat ~/.hermes/.env
# 重启服务
hermes gateway run --replace
或后台执行:
hermes gateway restart