AI Agents · Lesson L02

How to Install Hermes Agent for Beginners (2026): Mac and VPS, Step-by-Step

Install Hermes on Mac or VPS in under twenty minutes. Pick a model, paste an API key, verify with `hermes doctor`.

Reading time
9 min
Last updated
June 2026
Module
AI Agents

Last tested and updated: June 2026

Hermes installs in one curl-pipe-bash on Mac or VPS; pick Mac first to learn.

Before you install

Install Xcode Command Line Tools first. Skip this and the installer fails with “no developer tools were found.”

Open Terminal (Finder → Applications → Utilities → Terminal) and run:

xcode-select --install

Click Install. The first run downloads 500 MB and takes five to ten minutes.

You also need a model provider account. Hermes is the harness — it does not bundle model access. Bring your own key (BYOK = your provider’s API key). Supported providers are Anthropic, OpenAI, DeepSeek, Kimi, MiniMax, and Qwen. The Mac path needs macOS 13 or newer.

Two paths: Mac vs VPS

Pick Mac for learning. Pick VPS for 24/7 cron jobs. A $3/month VPS keeps running when your laptop lid is closed.

Decision diagram: Mac path runs locally for free but only while your laptop is open. VPS path costs $2–5/month and runs 24/7.

Mac (local). Hermes runs on your laptop. Free. Fastest iteration. Downside: only runs while your laptop is awake.

VPS (rented Linux server). Hermes runs on a small rented Linux box. $2–$5/month at Hetzner, DigitalOcean, Vultr, or Linode. Runs 24/7. Downside: you must learn SSH.

SituationPath
Brand new to terminals or cheapest test driveMac
Want 7am cron while you sleepVPS
On a Windows PCVPS
Plan to wire Telegram or Discord botsVPS

The Mac path

After xcode-select --install finishes:

curl -fsSL https://hermes-agent.newsresearch.com/install.sh | bash
hermes

Pick quick setup in the wizard. Skip Telegram and Discord on first install. L05 wires those properly.

The VPS path

The VPS path = SSH (Secure Shell, an encrypted terminal into a remote box) plus the same installer as Mac.

Four-step flow: laptop SSHes into VPS, VPS runs installer, wizard writes API key to ~/.hermes/config.yaml, you chat with Hermes over SSH.
  1. Rent a server. Ubuntu 22.04 or 24.04, 2 GB RAM, $2–$5/month.
  2. SSH in. ssh ubuntu@<your-server-ip>. Type yes to trust the host fingerprint. Paste the password — the cursor does not move. That is normal.
  3. Install deps. sudo apt update && sudo apt install -y git curl.
  4. Run installer. Paste the one-line command. When asked about importing from OpenClaw, answer No — even if you used OpenClaw before.

Pick your model

Start with Kimi K2.6 or DeepSeek V4 Pro. Upgrade to Claude Sonnet only when you can see the loop working and need the quality.

Picking the right model decides whether you spend $5/month or $50/month. The wizard asks for a provider and an API key. You can swap providers later by re-running hermes setup.

ProviderPick when…
Kimi K2.6 (Moonshot)Cost matters most; daily use, non-English
Claude Sonnet 4.8 (Anthropic)Reliable quality, broad capability
Claude Opus 4.8 (Anthropic)Long-context or high-stakes deliverables
DeepSeek V4 ProCost-efficient, broad capability
OpenAI GPT-5.xSolid general-purpose
MiniMax M3Cost-efficient execution

At 50–100 messages per day on the cheap tier, expect $5–$10/month. Claude Opus runs 4–5× that.

Set a $20/month hard cap in the provider’s billing dashboard on day one. API keys are passwords. Paste them only into the wizard.

Verify it works

Run these three commands. All three must return without error.

hermes doctor          # checks Python, SSL, dependencies
hermes status          # shows config, API keys, version
hermes skills list     # enumerates available skills

A healthy doctor looks like this.

Output of hermes doctor showing green checks across security, Python, SSL, and dependencies
Everything green = healthy install. Orange Telegram/Discord warnings resolve in L05.

hermes setup --help lists subsections you can re-run individually — useful for swapping providers later.

Output of hermes setup --help showing six sub-sections: model, tts, terminal, gateway, tools, agent
Re-run `hermes setup model` to swap providers — no need to redo the whole wizard.

hermes skills list shows what Hermes can invoke.

Output of hermes skills list enumerating built-in skills with one-line descriptions
Each row is a skill Hermes knows. L04 covers adding your own.

The final smoke test: launch chat, type hi. If Hermes responds, the install is complete.

hermes
> hi
< Hello! How can I help today?

A one-liner that proves the same thing without interactive chat:

hermes doctor >/dev/null 2>&1 && echo "hermes install verified" || echo "hermes install FAILED"

If you see an error, the cause is usually a wrong API key. Re-run hermes setup to fix a bad key. On VPS, install missing deps with sudo apt install -y curl git.

Watch the full install

Check your understanding

Quiz lives at site/src/lessons/hermes/L02-install-and-first-run/quiz.json — 6 questions, runnable by the lesson harness.

What’s next