agentleFS
Hashi-Ai-DevHashi-Ai-Dev/HermitDoc/skills/hermes-install/SKILL.md

hermes-install

Skill4 starsChanged 7 months agoMITView on GitHub

Use when installing or deploying Hermes Agent. Covers: Linux, macOS, WSL2, Windows (WSL), Android (Termux), Docker, cloud deployment, update, uninstall. Triggers on: install, install hermes, setup, deployment, docker, linux, macos, windows, wsl, termux.

  • Pipes a download into a shell
  • Reads credentials
  • Deletes or force-pushes
  • Installs packages

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use Windows Terminal or PowerShell with WSL integration:

    line 88
  2. Distinctive:

    Not recommended — Hermes is long-running, Vercel is stateless.

    line 179
  3. Distinctive:

    Before installing, ensure you have:

    line 211

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Hermes Install Reference

Complete installation guide for all platforms and deployment methods.

Quick Install

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

Then run:

hermes setup       # Interactive setup wizard
hermes doctor      # Verify installation

Linux

Install

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

# Or manual
wget https://github.com/NousResearch/hermes-agent/releases/latest/download/hermes-linux-amd64
chmod +x hermes-linux-amd64
sudo mv hermes-linux-amd64 /usr/local/bin/hermes

Verify

hermes --version
hermes doctor

macOS

Install

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

# Via Homebrew (if available)
brew install hermes-agent

# Or manual
wget https://github.com/NousResearch/hermes-agent/releases/latest/download/hermes-macos-arm64
chmod +x hermes-macos-arm64
sudo mv hermes-macos-arm64 /usr/local/bin/hermes

Apple Silicon (M1/M2)

Works natively. Use the arm64 binary or Homebrew.

Windows (WSL2)

Prerequisites

  1. Enable WSL2 in Windows
  2. Install a Linux distro (Ubuntu recommended)
  3. Install Node.js in WSL: curl -fsSL https://deb.nodesource.com/setup_20.x | sudo bash -

Install in WSL

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

Windows Terminal

Use Windows Terminal or PowerShell with WSL integration:

wsl
hermes chat

Android (Termux)

Prerequisites

# Install Termux from F-Droid (not Google Play)
# Grant storage permission
termux-setup-storage

Install

pkg update && pkg upgrade
pkg install git python nodejs
curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash

Note

Memory is limited on Android. Use lightweight models.

Docker

Run Interactively

docker run -it \
  -v ~/.hermes:/root/.hermes \
  -v $(pwd):/workspace \
  ghcr.io/nousresearch/hermes-agent

Run with Custom Config

docker run -d \
  --name hermes \
  -v ~/.hermes:/root/.hermes \
  -v /path/to/config:/root/.hermes/config.yaml \
  -p 18789:18789 \
  ghcr.io/nousresearch/hermes-agent hermes gateway run

Docker Compose

version: '3.8'
services:
  hermes:
    image: ghcr.io/nousresearch/hermes-agent
    volumes:
      - ~/.hermes:/root/.hermes
    ports:
      - "18789:18789"
    environment:
      - ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
    restart: unless-stopped

Cloud Deployment

Railway

  1. Connect GitHub repo
  2. Set build command: npm install
  3. Set start command: hermes gateway run
  4. Add environment variables

Fly.io

fly launch
fly secrets set ANTHROPIC_API_KEY=sk-...
fly deploy

DigitalOcean App Platform

  1. Create from GitHub
  2. Build command: npm install
  3. Run command: hermes gateway run

Vercel

Not recommended — Hermes is long-running, Vercel is stateless.

Updating Hermes

# Update to latest
hermes update

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

Uninstalling

# Remove Hermes
hermes uninstall

# Or manual
rm /usr/local/bin/hermes

# Remove config (optional)
# WARNING: This deletes all data
rm -rf ~/.hermes

# Remove from Docker
docker rm -f hermes
docker rmi ghcr.io/nousresearch/hermes-agent

Prerequisites

Before installing, ensure you have:

  • Node.js 18+ (for some features)
  • Python 3.10+ (for Python tools)
  • Git (for cloning and updates)
  • API keys for your chosen model provider

Post-Install Setup

hermes setup              # Interactive wizard
hermes model              # Select provider
hermes doctor             # Verify

References

Structured reference docs:

  • Install Methods — All platform installations
  • Docker Reference — Container deployment
  • Prerequisites — Required software

Related skills:

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.