How to Install Hermes Agent: Beginner Setup Guide

Learn how to install Hermes Agent on macOS and Windows. Follow beginner-friendly commands, model setup steps, verification checks, and troubleshooting fixes.

10 min read2026-07-13
How to install hermes agent tool

Hermes Agent is an open-source AI agent from Nous Research that runs from your terminal, connects to different model providers, remembers useful context across sessions, and can be extended with tools, skills, messaging gateways, and automation. This guide helps you to know how to install Hermes. You do not need to manually install Python or Node.js for the standard installer on macOS or Windows because the official installer handles the main dependencies for you.

Before You Install Hermes Agent

Hermes Agent is terminal-first software, so you will install it from a command line. Choose the section that matches your computer:

  • macOS: open Terminal from Applications > Utilities > Terminal, or press Command + Space and search for "Terminal."

  • Windows: install WSL2 first, open your Linux distribution terminal, then follow the Linux command.

You also need Git. Check whether Git is installed:

git --version

Expected output:

git version 2.x.x

If you see git: command not found, install Git first:

# Ubuntu / Debian / WSL2 sudo apt update sudo apt install -y git
# macOS with Homebrew brew install git

If you do not have Homebrew on macOS, install Git from Apple Command Line Tools by running:

xcode-select --install

Step 1: Install Hermes Agent on macOS or Windows

In your terminal, copy and paste the official installer command:

curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash
Install Hermes Agent assistant with the official installer command

The installer downloads Hermes Agent, prepares its Python environment, installs required dependencies, and adds the hermes command to your shell path. On a normal user install, Hermes data is stored under ~/.hermes/.

When the command finishes, reload your shell:

source ~/.bashrc

If you use Zsh, which is common on macOS, run:

source ~/.zshrc

Expected result:

# No error output

Now confirm that the Hermes Agent command is available:

hermes --version

Expected result:

hermes, version ...

The exact version number may change as Hermes Agent is updated.

Step 2: Configure Your Model Provider

Hermes Agent needs a model provider before it can answer or use tools. The easiest beginner setup is interactive:

hermes model

The wizard lets you choose a provider such as Kimi/Moonshot. Do not configure routing, fallback, gateway, or cron until a basic chat works.

Choose a LLM provider for Hermes agent tool

Select the default model. kimi-k2.6 is Kimi's most advanced model so far.

Select Kimi-k2.6

If you already know the value you want to set, you can use hermes config set. For example:

hermes config set Moonshot_API_KEY sk-or-your-key-here

If you don't have an api-key, Kimi could be a cool choice.

Step 1: Activate your Kimi API

Before using the Kimi API with the Hermes Agent, activate your Kimi API Key in the Kimi Platform. We recommend $20+ to unlock Tier 2 access, which reduces latency and supports more stable performance for complex, multi-step tasks

activate your Kimi API Key

Step 2: Create your Kimi API Key

Go to the API Keys section in Kimi Platform and click Create API Key. Remember to copy your API key and store it securely. Because the key is only shown once at creation.

Create your Kimi API Key

Step 3: Enter your API key

Paste your Kimi API key and connect the Hermes Agent.

Create your Kimi API Key

Step 3: Start Hermes Agent

Once the model is configured, start the classic CLI:

hermes

Or try the newer terminal UI:

hermes --tui

You should see a welcome screen or prompt that shows your selected provider/model. Test it with a simple request:

Check my current directory and tell me what files you see.

Success looks like this:

Hermes responds without an authentication error. Hermes can read or reason about the current directory. The session continues after the first response.

If Hermes Agent opens but replies with model or authentication errors, run:

hermes model

Then choose your provider again and verify the API key or OAuth login.

Step 4: Turn Hermes Agent into a Bot

Like OpenClaw, Hermes Agent can also act as a bot and connect to your chat apps:

hermes gateway setup

After setup, check gateway status:

hermes gateway status

Use the gateway only after your model provider works in the terminal. If the CLI cannot complete a basic chat, the bot will usually fail for the same reason.

Common Hermes Agent Installation Problems

hermes: command not found

Cause: your terminal has not reloaded the PATH change yet.

Fix:

source ~/.bashrc

Or:

source ~/.zshrc

Then try:

hermes --version

git: command not found

Cause: Git is missing.

Fix on Ubuntu, Debian, or WSL2:

sudo apt update sudo apt install -y git

Fix on macOS with Homebrew:

brew install git

API Key Not Set

Cause: Hermes Agent is installed, but no provider key or login is configured.

Fix:

hermes model

Or set a key manually:

hermes config set OPENROUTER_API_KEY sk-or-your-key-here

hermes doctor Reports Missing or Stale Config

Cause: your config file may be incomplete after an update.

Fix:

hermes config check hermes config migrate hermes doctor

Custom Endpoint Connects but Gives Bad Replies

Cause: the base URL, model name, or context length is wrong.

Fix: test the endpoint in a separate client first, confirm it is OpenAI-compatible, and make sure the model supports at least 64K context for normal Hermes Agent workflows.

Quick Command Reference

Conclusion

The easiest way to install Hermes Agent is to use the official one-line installer, reload your shell, run hermes model, and verify the setup with one real chat plus hermes doctor. Keep your first setup simple: one machine, one provider, one working conversation. Once the base Hermes Agent assistant is stable, you can safely build on it with Docker isolation, gateway bots, skills, scheduled automations, and custom model providers.

FAQ

What is Hermes Agent?
Hermes Agent is an open-source AI agent platform from Nous Research. It runs from the terminal, supports many model providers, uses tools, stores configuration under ~/.hermes/, and can be extended with skills, memory, scheduled jobs, and messaging gateways.
Is Hermes Agent software or a web app?
Hermes Agent is software you install locally, on WSL2, on a server, or in supported environments such as Termux. It is not only a hosted web app. Many users run it as a terminal-based AI assistant or as an always-on agent on a VPS.
Do I need Python or Node.js before installing Hermes Agent?
For the official installer, you generally do not need to install Python or Node.js manually. The installer handles the main dependencies. You should make sure Git is available first.
Can I use Hermes Agent on Windows?
Yes. The beginner-recommended route is WSL2. Native Windows support exists, but the official docs mark it as early beta, so expect more rough edges than the Linux/macOS/WSL2 path.
What should I do after installing Hermes Agent?
Run hermes model, choose one provider, like Kimi, start hermes, test one normal chat, run hermes doctor, and confirm hermes --continue resumes your session. After that, add Docker isolation, skills, MCP servers, voice, cron, or a messaging gateway as needed.
You Might Also Like
How to Install OpenClaw on macOS, Linux & Windows
How to Install OpenClaw on macOS, Linux & Windows
2026-07-13
How to Install OpenClaw on Mac: Step-by-Step Guide
How to Install OpenClaw on Mac: Step-by-Step Guide
2026-07-13
Hermes API Integration Guide: Setup and How It Works
Hermes API Integration Guide: Setup and How It Works
2026-07-13
How to Configure OpenCode API with Your LLM API
How to Configure OpenCode API with Your LLM API
2026-07-13
How to Use Claude Code: Step-by-Step for Beginners
How to Use Claude Code: Step-by-Step for Beginners
2026-07-13