常用命令
掌握这些命令,快速上手 Hermes Agent。
1基础命令
| 命令 | 说明 |
|---|---|
hermes | 开始对话(经典 CLI) |
hermes --tui | 启动现代 TUI 界面(推荐) |
hermes model | 选择 LLM 提供商和模型 |
hermes setup | 完整设置向导 |
hermes setup --portal | 快速设置 Nous Portal |
hermes tools | 配置启用的工具 |
hermes skills | 浏览和安装技能 |
hermes gateway | 启动消息网关 |
hermes gateway setup | 交互式平台配置 |
hermes doctor | 诊断问题 |
hermes update | 更新至最新版本 |
hermes --continue 或 -c | 恢复上次会话 |
hermes sessions list | 列出所有会话 |
hermes config set <key> <value> | 设置配置项 |
2斜杠命令(对话中使用)
| 命令 | 功能 |
|---|---|
/help | 显示所有可用命令 |
/tools | 列出可用工具 |
/model | 交互切换模型 |
/personality pirate | 尝试趣味人格 |
/save | 保存对话 |
/voice on | 开启语音模式 |
3配置管理
# 查看配置
hermes config get model
hermes config get terminal.backend
# 设置配置
hermes config set model anthropic/claude-opus-4.6
hermes config set terminal.backend docker
hermes config set OPENROUTER_API_KEY sk-or-...
配置存储位置:
• 密钥 →
• 普通配置 →
• 密钥 →
~/.hermes/.env• 普通配置 →
~/.hermes/config.yaml