How to install Hermes Agent and reach a first clean chat

By Christophe Paka · Facts checked on 7 November 2026

"Don't try to build the whole machine on day one" is the top lesson in a popular r/hermesagent thread. Beginners add chat apps, tools and schedules at once, then cannot tell which part broke.

The docs give the same advice: if Hermes cannot complete a normal chat, do not add more features yet. So when you install Hermes Agent, the first goal is one clean chat, nothing more.

The figure maps the whole path in five boxes, with one gate at the end.

Five steps from a bare machine to a first chat: prerequisites, install with install.sh or install.ps1, load the shell environment, hermes setup with the Portal, then run hermes. A gate asks for 64,000 tokens of context.
Figure 4.1: From a bare machine to a first chat. Five steps, one gate: a model with at least 64,000 tokens of context.
Use this diagram on your site

Free to share in your blog post, docs, course or slides, as long as the credit link stays. Paste the code below where the figure should go.

How to read this figure

  1. Box 1: what you need first. Easiest route: on Windows 11 or an Apple Silicon Mac, install Hermes Desktop, Hermes's own app. It needs no terminal and replaces boxes 1 to 3. Everyone else opens a terminal, the window where you type commands: Terminal on a Mac, PowerShell on Windows. Linux and macOS also need four small download and unpack tools; most systems already have them.

  2. Box 2: run the installer. One command, given in the steps below, downloads and runs the installer: install.sh on Linux or macOS, install.ps1 on Windows. It brings everything else it needs, then adds the hermes command. Run it as your normal user, not as root, the admin account that can change anything. It installs into your home folder.

  3. Box 3: let the terminal see hermes. The installer adds the hermes command, but the open terminal has not noticed yet. Open a new terminal window, or type source ~/.bashrc (source ~/.zshrc on a zsh setup) to reload it. If you see command not found, do this step again. PowerShell skips this step.

  4. Box 4: connect a model. hermes setup --portal opens one browser sign in to Nous Portal. That is OAuth: a login with no key to paste. You come back with a model and the gateway tools. How a model provider plugs in shows the other routes.

  5. Box 5 and the gate. Start the chat with hermes, or hermes --tui for the full screen view the docs recommend. Then the gate: a model with fewer than 64,000 tokens of context is refused at startup, so pick a bigger one.

  6. The side box: hermes doctor. If anything breaks along the way, run hermes doctor. It checks your install and tells you what is broken. Run it first, before you change anything.

Key takeaways

  • Get one clean chat working before you add chat apps, tools or schedules.
  • Keep secrets in .env and settings in config.yaml, both inside the ~/.hermes folder.
  • Run hermes doctor first whenever something breaks, and stay on the stable release channel.

Try this: your first clean chat

Do this on a computer you can reset, or on your server. Open a terminal: Terminal on a Mac, PowerShell on Windows. Desktop readers start at step 3 and follow the guided chat.

  1. Run the installer. Linux or macOS: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash. Windows PowerShell: iex (irm https://hermes-agent.nousresearch.com/install.ps1).
  2. Open a new terminal, or run source ~/.bashrc. Typing hermes should work.
  3. Run hermes setup --portal and sign in once in the browser.
  4. Start hermes --tui and ask a plain question.
  5. Type /help for the commands and /tools for what it can do.
  6. Close it, then run hermes --continue.

Expected result: Your last session resumes where you left it. Everything Hermes keeps lives in ~/.hermes, a hidden folder in your home folder.

Questions readers ask

Should I install Hermes on a VPS or my own computer?

Your own computer, if you can reset it, is the place to learn, but the agent sleeps when you close the lid. A VPS, a computer you rent, stays on but reaches only what you put on it, so your Mac's apps stay out of reach. Hermes Cloud runs the machine for you.

Can I install Hermes Agent without the terminal?

Yes, on Windows 11 or an Apple Silicon Mac. Hermes Desktop is Hermes's own signed app, from the Microsoft Store or App Installer on Windows, or a DMG file on a Mac. Its guided chat connects a model for you. There is no Linux package, so Linux uses the terminal. Install only from hermes-agent.nousresearch.com, because look alike sites exist.

Is there a free way to try Hermes Agent?

Yes. A fresh Hermes Desktop install opens a guided setup chat on a free trial model, once per user account, with no card needed. That trial is Desktop only. Elsewhere, start on a free model from the Portal Free plan, or a local model.

What does "hermes: command not found" mean after install?

Your shell has not reloaded since the installer added the command. Run source ~/.bashrc or source ~/.zshrc, or open a fresh terminal. Then type hermes again.

Sources: Installation guide (Hermes Agent docs); Quickstart (Hermes Agent docs).

This figure is from Hermes Agent Made Crystal Clear, chapter 4.

The chapter builds the idea step by step, with recipes you can follow, a Try it to check yourself, and every source.

Get the book

All diagrams