hermes atlas
292·repos hermes·v0.21.5 ★ star this repo
handbook · satellite · install

How to install Hermes Agent

The complete 2026 setup guide for every platform — with dedicated pages for Windows, macOS, Linux, Raspberry Pi, and VPS, plus the full troubleshooting tree for every common install error.

By Kevin Simback · Hermes Atlas maintainer · Updated 2026-11-06 · ~8 min read

TL;DR — Hermes Agent installs with a single curl command on macOS, Linux, or Windows via WSL2. The installer takes two to three minutes end-to-end and is maintained in lockstep with the main repo. This guide covers Hermes Agent v0.21.5 (current release as of November 2026; 261,158 GitHub stars as of 2026-11-06).

TL;DR

One curl command. Two to three minutes. Works on macOS, Linux, and Windows via WSL2.

curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash
source ~/.bashrc   # or: source ~/.zshrc
hermes             # start chatting

If that worked, skip to first run and model provider. If it didn't, the troubleshooting tree covers the nine failure modes I've seen, in the order you should check them.

Want the full walkthrough for your exact setup? Each platform has a dedicated page with its own installer specifics, pitfalls, and FAQ: Windows 10/11 · macOS (Apple Silicon) · Linux & servers · Raspberry Pi · VPS.


Before you start

Supported OSes (as of v0.21.5):

Prerequisites — Hermes's installer is aggressive about setting up its own stack, so you need almost nothing pre-installed:

The installer handles the rest automatically: uv, Python 3.11, Node.js, ripgrep, ffmpeg, the venv, the global hermes command, and the ~/.hermes/ directory tree. On native Windows it additionally bundles a portable Git Bash (~45 MB MinGit) inside %LOCALAPPDATA%\hermes\git.


Install on macOS

Apple Silicon only (Tier 1) — Intel Macs, brew, and pip installs are officially unsupported. Two paths: the Hermes Desktop installer (recommended — app + CLI in one), or terminal-only:

curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
source ~/.zshrc   # macOS default since Catalina
hermes version

Full macOS guide → — Desktop vs CLI install, the Intel-Mac situation, Mac-specific pitfalls, and the Mac mini always-on setup.


Install on Linux

Tier 1 on x86_64 and aarch64; the command is identical across distros (make sure git, curl, and xz-utils are present first):

curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
source ~/.bashrc

Full Linux guide → — distro notes (Ubuntu, Debian, Fedora, Arch — and why the AUR is a trap), per-user vs FHS layouts, and the complete Ubuntu Server / headless / systemd service-user recipe.


Install on Windows

Native Windows 10/11 is Tier 1 — no WSL required, no admin rights. Open PowerShell and run:

iex (irm https://hermes-agent.nousresearch.com/install.ps1)

Or use the Hermes Desktop installer for a double-click install. WSL2 is equally supported and the right pick for POSIX-heavy workflows (it's the standard Linux install inside Ubuntu).

Full Windows guide → — the official native-vs-WSL2 guidance, what the installer does, the feature matrix, gateway auto-start at login, and every Windows-specific pitfall.


Install on a Raspberry Pi

A Pi 4 or 5 with 4+ GB RAM and a 64-bit OS is a legitimate Tier-1 host (aarch64 Linux and aarch64 Docker are both Tier 1). Direct install uses the Linux one-liner above; Docker gives set-and-forget supervision.

Full Raspberry Pi guide → — hardware requirements by board, both install paths, and the always-on gateway setup.


Install on a VPS

A $5 VPS (1 CPU, 1 GB RAM) runs Hermes as an always-on bot or remote backend when paired with a hosted model API. Docker is the recommended path — and do the install over SSH, not your provider's browser console.

Full VPS guide → — sizing from the official docs, Docker and direct-install paths, the mandatory-auth security guidance, and connecting Hermes Desktop or your phone to the box.


Verify the install

Run these three commands. All three should return clean output:

hermes version      # prints v0.21.5 (or newer)
hermes doctor       # system health check — every line should be green
hermes status       # current config + running daemons

For a live smoke test that exercises the model layer (skip this until you've configured a provider — see below):

hermes chat -q "Hello! What tools do you have available?"

You should see a short response plus a list of enabled tools. If this hangs, the model provider isn't reachable — jump to first run and model provider.


First run and model provider

Run hermes with no arguments on a fresh install to trigger the interactive setup:

hermes

Hermes walks you through provider selection. Pick one of these four paths:

Path 1 — Nous Portal (easiest)

Nous Portal is a single subscription that routes across Claude, GPT, GLM, MiniMax, Nous's own models, and many more via one auth. Sign in with OAuth from the CLI when prompted. One flat monthly bill, no key management. Most people end up here eventually.

Path 2 — Bring your own API key

Paste a key from Anthropic (sk-ant-...), OpenAI (sk-...), z.AI, MiniMax, or DeepSeek when prompted. You can swap later with hermes model.

Path 3 — Local model via Ollama

Install Ollama first (ollama.com), pull a tool-calling-capable model (Gemma 4 26B is the current community pick; Qwen 3.5 also works well), raise Ollama's context window (Hermes needs 64K; Ollama defaults to 4K), then point Hermes at it. Local models are great for coding and chat but weaker at multi-step tool chains — the full tradeoff is in chapter 5 of the handbook.

Path 4 — Skip for now

You can install Hermes without configuring a model and wire one up later with hermes model. Useful if you're installing on a VPS and want to set up the Telegram gateway first.


Troubleshooting common install errors

Check these in order. The top three catch about 90% of failures.

1. "Command not found: hermes"

Your shell didn't pick up the new PATH. Open a fresh terminal window, or run source ~/.bashrc (or ~/.zshrc, or ~/.config/fish/config.fish for fish). If that still doesn't work, check that ~/.hermes/bin is in your PATH: echo $PATH | tr ':' '\n' | grep hermes.

2. "Provider error: invalid API key"

Trailing whitespace is the #1 cause. Paste with care, or use the heredoc approach: hermes config set model.api_key "$(cat)" then paste and hit Ctrl-D. Second most common cause: wrong provider selected for the key type.

3. Windows: "bad interpreter", "cannot execute", or curl errors

You ran the Linux curl ... | bash command from PowerShell or cmd. That path is for WSL only. Either open your Ubuntu (WSL) terminal and rerun the bash installer, or use the native PowerShell installer instead: irm https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.ps1 | iex.

4. "Permission denied" during install

Usually caused by running the curl command under sudo. Don't. Hermes installs per-user under ~/.hermes/ and doesn't need root. If you already ran it as root, sudo rm -rf ~/.hermes/ /root/.hermes/ and retry as your normal user.

5. "uv: command not found" mid-install

The installer failed between installing uv and using it — usually because a previous interrupted run left a half-configured state. Simply re-run the install command; it's idempotent.

6. Python version mismatch

You have Python 3.9 or older in PATH and something is resolving to that first. The installer pins Python 3.11 in its own venv, but if you see a version error, drop to the manual install below, which gives you explicit control.

7. npm errors ("ENOENT", "EACCES")

Node.js didn't install cleanly. Delete ~/.hermes/, reinstall Node via your OS package manager (brew install node on Mac, apt install nodejs npm on Ubuntu), then rerun the Hermes curl installer.

8. ffmpeg / ripgrep missing (macOS Apple Silicon)

Homebrew path mismatch — Apple Silicon's Homebrew lives at /opt/homebrew/bin, not /usr/local/bin. Add eval "$(/opt/homebrew/bin/brew shellenv)" to your ~/.zshrc and rerun.

9. Installer hangs downloading the hermes binary

GitHub release download from a rate-limited or corporate-firewalled network. Set export GITHUB_TOKEN=... (any personal access token) before rerunning, or use the manual install.


Manual installation

When the curl installer fails and you want step-by-step control:

git clone --recurse-submodules https://github.com/NousResearch/hermes-agent.git
cd hermes-agent

# install uv (Python package manager)
curl -LsSf https://astral.sh/uv/install.sh | sh

# create venv + install Python deps
uv venv venv --python 3.11
export VIRTUAL_ENV="$(pwd)/venv"
uv pip install -e ".[all]"

# install Node dependencies
npm install

# create the hermes directory tree
mkdir -p ~/.hermes/{cron,sessions,logs,memories,skills,pairing,hooks,image_cache,audio_cache,whatsapp/session}
cp cli-config.yaml.example ~/.hermes/config.yaml
touch ~/.hermes/.env

# symlink hermes to ~/.local/bin for PATH convenience
ln -s "$(pwd)/bin/hermes" ~/.local/bin/hermes

Add ~/.local/bin to your PATH if it isn't already. Verify with hermes version.


Uninstall or clean reinstall

Complete uninstall — removes everything including memory, skills, and config:

rm -rf ~/.hermes/

Reset config but keep memory and skills:

hermes config reset

Clean reinstall — useful when something is wedged:

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

Get the ecosystem inside your agent

Install the hermes-atlas MCP server so Claude Desktop, Cursor, Claude Code, or any MCP-aware client can search the catalog, fetch project summaries, and answer free-form questions about the Hermes ecosystem mid-chat. Five tools: search_projects, get_project, list_by_category, get_guide, ask_atlas.

Recommended — one command

Run this in a terminal. The installer detects your OS, finds the right config file for your client, and safely merges in the hermes-atlas entry without touching anything else:

npx -y hermes-atlas-mcp install --client claude-desktop

Replace claude-desktop with cursor or claude-code as needed. Add --print first if you want to preview the exact diff without writing anything.

Then fully quit and reopen the client — closing the window isn't enough, the whole process has to restart. In a new chat, click the tool icon (usually at the bottom of the message box) and you'll see the five tools listed.

To remove later:

npx -y hermes-atlas-mcp uninstall --client claude-desktop

Manual install — Claude Desktop

If you'd rather edit the config yourself, or the installer doesn't work on your setup, here's the full walkthrough.

Step 1 — open the config file

The easiest way is through Claude Desktop's built-in button:

  1. Open Claude Desktop.
  2. Click the Settings gear (or Cmd/Ctrl+,).
  3. Select the Developer tab on the left.
  4. Click the Edit Config button. The file opens in your default text editor.

If you'd rather find it by path:

Step 2 — add the hermes-atlas entry

If the file is empty, or doesn't exist, paste this as the full contents:

{
  "mcpServers": {
    "hermes-atlas": {
      "command": "npx",
      "args": ["-y", "hermes-atlas-mcp"]
    }
  }
}

If the file already has content, merge the new entry into the existing mcpServers block. For example, if your file currently looks like this:

{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-filesystem", "/path"]
    }
  }
}

...change it to this (add a comma after the filesystem block, then the new hermes-atlas object):

{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-filesystem", "/path"]
    },
    "hermes-atlas": {
      "command": "npx",
      "args": ["-y", "hermes-atlas-mcp"]
    }
  }
}

If the file has top-level settings like preferences or anything other than mcpServers, leave those alone — only merge into the mcpServers object (or add it if it doesn't exist yet).

Step 3 — save and fully restart Claude Desktop

Save the file. Then fully quit Claude Desktop — closing the window isn't enough, the background process has to restart.

Reopen Claude Desktop normally.

Step 4 — verify

Start a new chat. Click the tool / attachment icon at the bottom of the message box. You should see five tools listed under hermes-atlas:

If they're missing, most-likely causes in order:

  1. You didn't fully quit Claude Desktop. Quit and reopen again.
  2. The JSON isn't valid (a missing comma, extra trailing comma, unbalanced brace). Paste the file into any online JSON validator.
  3. You don't have Node.js installed (the npx command needs it). Install from nodejs.org — any LTS version works.

Manual install — Cursor

File: ~/.cursor/mcp.json (global, applies to every project) or .cursor/mcp.json at your project root (per-project). Use the same JSON shape as Claude Desktop above. Restart Cursor.

Manual install — Claude Code

Easiest: inside a Claude Code session, run /mcp — the built-in UI walks you through adding a server without touching any file. Otherwise, edit ~/.claude.json using the same shape.

Continue, Windsurf, Zed, other MCP clients

Any MCP-compatible client works the same way. Configure a server named hermes-atlas that runs npx -y hermes-atlas-mcp via stdio. The client docs will point you at the right config file.

Source: github.com/ksimback/hermes-atlas-mcp · npm. MIT-licensed, experimental (0.x), batch releases weekly.


What to do next

You're installed. The next three handbook chapters walk you through the mistakes most people make on day one:


FAQ

Does Hermes Agent work on bare Windows?

Yes — native Windows 10/11 is a Tier 1 platform. Run iex (irm https://hermes-agent.nousresearch.com/install.ps1) in PowerShell (no admin rights), or use the Desktop installer. It installs to %LOCALAPPDATA%\hermes and bundles a portable Git Bash. Everything except the dashboard's embedded terminal runs natively; WSL2 is equally supported for POSIX workflows. Full details: the Windows install guide.

Does Hermes work on Apple Silicon (M1, M2, M3, M4)?

Yes, natively — Apple Silicon is Tier 1. The installer detects arm64 and pulls native binaries; no Rosetta required. Intel (x86) Macs are explicitly unsupported — see the macOS install guide.

Can I run Hermes Agent on a Raspberry Pi or low-end VPS?

Yes. Hermes itself runs comfortably on a $5 VPS (1 CPU, 1 GB RAM) or a Raspberry Pi 4/5 with 4+ GB RAM — we maintain dedicated Raspberry Pi and VPS setup guides. The practical constraint is not Hermes but the model — pair it with a hosted API (Nous Portal, Anthropic) and the agent host stays lightweight.

How much disk space does Hermes Agent use?

About 200 MB for a fresh install. Memory, skills, and session logs accumulate in ~/.hermes/ over time — budget another 100–500 MB depending on how heavily you use it.

Can I run Hermes Agent fully offline?

Yes. Install Hermes, pair it with Ollama or LM Studio, disconnect the network. Memory, skills, cron, and file tools all work offline. Local models are weaker at multi-step tool chains, so complex workflows may degrade — but single-shot chat and coding work fine.

Do I need Docker to install Hermes?

No. The official installer is a native binary install; Docker is not required. Community-maintained Docker images exist (browse the deployment options list on Hermes Atlas) if you prefer containerized deploys, but the path of least resistance is the curl installer.

What if the curl install fails mid-way?

Re-running the same curl command is safe — the installer is idempotent. If it fails a second time, fall back to the manual install above.

Written by Kevin Simback · maintainer, Hermes Atlas

Last updated: 2026-11-06 · Version and star figures re-stamp automatically with every site build.

Cited stats:

Corrections and feedback: open an issue or message @ksimback on X.

if this was useful, drop a ★ on the atlas repo →

back to The Hermes Handbook →