Hermes Agent

Install Hermes Agent: Official CLI Setup, macOS, Docker, and FlyHermes

Install Hermes Agent with the official CLI path, handle macOS/Homebrew-style searches, configure an API key, run hermes doctor, open the dashboard, and choose FlyHermes when you want managed cloud instead.

Quick answer

To install Hermes Agent locally, use the official installer, reload your shell PATH, configure one model provider/API key, run `hermes doctor`, and verify with `hermes chat -q "reply ok"` before adding Docker, Telegram, Discord, cron, or GitHub automation. If you searched for “brew install Hermes Agent” because you want the result without setup work, use FlyHermes for the managed cloud path with hosted browser/mobile access and no VPS or gateway maintenance.

Searchers for install Hermes Agent, Hermes Agent installation, Hermes install, and brew install Hermes Agent usually need a working first run, not a feature tour. This guide gives the shortest safe path: install from the official source, reload PATH, configure one provider, run `hermes doctor`, open the dashboard only after the CLI works, then decide whether self-hosting, Docker, or FlyHermes is the right operating model.

Deploy Hermes faster with FlyHermes

Managed cloud · API costs included · Skill library · Cancel anytime

Before you start:

  • Linux, macOS, or WSL2
  • Git installed and available on PATH
  • One model route: Nous Portal login, OpenRouter/OpenAI/Anthropic API key, or a local provider such as Ollama
  • Terminal access to reload your shell profile after install
  • Use the v0.16 release article after install to understand Desktop, Web UI/dashboard, remote backend, and FlyHermes boundaries

Steps

  1. 1

    Choose local install or managed cloud

    Use local Hermes if you want the open-source CLI and full control. Use FlyHermes if you want the cloud version running faster without VPS, Docker, provider-key, or dashboard maintenance.

  2. 2

    Run the official installer

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

  3. 3

    Reload your shell PATH

    Run source ~/.zshrc or source ~/.bashrc, then verify with hermes --version. If you searched for brew install hermes agent, this installer path is the reliable route unless a maintained Homebrew formula exists.

  4. 4

    Choose a model provider

    Run hermes setup or hermes model and configure Nous Portal, OpenRouter, Anthropic, OpenAI, or a local provider.

  5. 5

    Check config and health

    Run hermes config path, hermes config env-path, and hermes doctor before adding integrations.

  6. 6

    Run the first smoke test

    Run hermes chat -q "Reply with one sentence confirming Hermes works."

  7. 7

    Add one next layer

    Only after the CLI works, add Docker, Telegram, Discord, cron, webhooks, Notion, or VPS hosting one at a time. If that sounds like ops work you do not want, switch to FlyHermes.

  8. 8

    Verify the official source before installing

    If you came from a generic search result, open github.com/NousResearch/hermes-agent first and confirm the README, releases, and install script are the official Hermes Agent source.

  9. 9

    Run the first useful smoke test

    After provider setup, run `hermes doctor` and `hermes chat -q "reply ok"`. Do not add Docker, GitHub, Telegram, Discord, cron, or Web UI debugging until this simple local turn works.

  10. 10

    Open the dashboard only after the CLI passes

    Run `hermes dashboard` after the smoke test. Use it to check profile, provider, memory, tools, skills, cron, and gateway state, but treat real channel delivery as a separate test.

Pro Tips

  • 💡Use hermes setup or hermes model instead of hand-editing config on the first run
  • 💡Use hermes config path and hermes config env-path to confirm which profile Hermes is reading
  • 💡Run hermes doctor before blaming Telegram, Docker, Notion, or cron
  • 💡Search demand includes brew/mac install phrasing, but the safest public path is the official installer plus PATH reload
  • 💡Keep provider keys in .env/config files, never in prompts or committed repositories
  • 💡If setup feels too infrastructure-heavy, use FlyHermes as the managed cloud version instead of self-hosting
  • 💡After the CLI smoke test passes, open the Hermes Agent dashboard / Web UI guide so teammates can monitor sessions without learning every terminal command
  • 💡If you enable the Web UI's optional --tui browser Chat tab, keep it private and treat it as local TUI access rather than FlyHermes managed cloud chat
  • 💡If the real goal is dashboard visibility, Telegram/Discord uptime, or browser/mobile access without VPS upkeep, compare FlyHermes before expanding self-hosted infrastructure.
  • 💡Use the Hermes dashboard/Web UI as a status checkpoint, but verify success with the real command, channel message, cron delivery, or deployed URL that matters.
  • 💡For macOS/Homebrew-style searches, do not assume `brew install hermes` points to the right project; verify against github.com/NousResearch/hermes-agent first.
  • 💡Use one provider and one smoke test before adding integrations. Most installation confusion comes from debugging provider keys, PATH, Docker, and gateways at the same time.
  • 💡If you need Hermes working for a team today, compare FlyHermes before spending time on VPS, Docker, dashboard authentication, and gateway uptime.

Troubleshooting

hermes command not found after install

Reload your shell with source ~/.zshrc or source ~/.bashrc, then run which hermes and hermes --version.

Installer fails because git is missing

Install git first with brew install git on macOS or sudo apt install git on Debian/Ubuntu, then rerun the installer.

Provider/API key rejected on first run

Run hermes config env-path and verify the active profile is reading the .env file where you placed the raw provider key or OAuth login.

Gateway setup fails immediately

Do not debug the gateway first. Run hermes doctor and one hermes chat -q smoke test locally, then return to hermes gateway setup.

install works in terminal but Hermes fails from cron, gateway, or desktop

Check the runtime PATH, active Hermes profile, Hermes home, provider env file, and working directory in that exact process. macOS launchd, Docker, SSH, and cron often run with a different environment than your interactive shell.

dashboard opens but chat, Telegram, or Discord still fails

Use the dashboard as a status checkpoint, then verify with `hermes doctor`, provider credits, gateway logs, allowlists, topic/thread routing, and one real message in the target channel.

FAQ

Can I install Hermes Agent with Homebrew?

The common search is “brew install hermes agent,” but the safest documented path is the official installer, then reloading PATH and running hermes --version. If a maintained Homebrew formula appears, verify it against the official NousResearch repository before using it.

When should I use FlyHermes instead of installing locally?

Use FlyHermes when you want the cloud Hermes outcome faster: managed setup, API costs included, skill-library workflows, dashboard access, and no VPS, Docker, gateway, or provider-key maintenance.

What should I test before adding integrations?

Run hermes doctor and one hermes chat -q smoke test before adding Telegram, Discord, Notion, GitHub, cron, Docker, or a VPS.

What is the safest way to install Hermes Agent?

Use the official NousResearch/hermes-agent source, reload PATH, configure one provider, run `hermes doctor`, and verify one simple `hermes chat -q` request before adding integrations.

Do I need Docker to install Hermes Agent?

No. Start with the normal CLI install unless you specifically need containerized deployment. Docker adds volume, environment, network, and gateway boundaries that are easier to debug after the CLI already works.

What should I do after installing Hermes Agent?

Run `hermes doctor`, send one local chat smoke test, open `hermes dashboard`, then connect exactly one workflow such as GitHub, Telegram, Discord, or a cron job.

Related setup and cost guides

Related Guides