Install Hermes Agent

Complete guide for Linux, macOS, WSL2, and Windows. Get your AI agent running in 60 seconds.

Quick Install

One command β€” the installer handles everything:

# Linux / macOS / WSL2 / Android (Termux) $ curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
# Windows (PowerShell) PS> iex (irm https://hermes-agent.nousresearch.com/install.ps1)

What the Installer Does

The installer automatically sets up all dependencies:

Note: You don't need to install Python, Node.js, ripgrep, or ffmpeg manually. The installer detects what's missing and installs it automatically. The only prerequisite is Git (git --version). On Linux, make sure you have curl and xz-utils.

After Installation

Reload your shell and run:

# Reload shell $ source ~/.bashrc # or: source ~/.zshrc # Launch $ hermes

Configuration

# Select LLM provider and model $ hermes model # Configure tools $ hermes tools # Set up messaging platforms (Telegram, Discord…) $ hermes gateway setup # Or all at once via the setup wizard $ hermes setup

Fastest Path: Nous Portal

One subscription covers 300+ models plus Tool Gateway (web search, image generation, TTS, cloud browser).

$ hermes setup --portal

System Service Installation

To run Hermes as a dedicated user (e.g., systemd service):

  1. Admin: Install Chromium system libraries

    $ sudo npx playwright install-deps chromium
  2. Service user: Install Hermes

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

    If you don't need browser automation:

    $ curl -fsSL .../install.sh | bash -s -- --skip-browser
  3. Make hermes command available

    # Add to PATH $ echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc # Or symlink (as admin) $ sudo ln -s /home/hermes/.hermes/hermes-agent/venv/bin/hermes /usr/local/bin/hermes
  4. Verify

    $ hermes doctor

Desktop Installer

On macOS and Windows you can use the Hermes Desktop installer β€” download from hermes-agent.nousresearch.com and run it. After installation, run hermes desktop.

Manual / Developer Install

For contributors or full control over the virtual environment:

# Clone the repository $ git clone https://github.com/NousResearch/hermes-agent.git $ cd hermes-agent # Create virtual environment $ python3 -m venv venv $ source venv/bin/activate # Install dependencies $ uv pip install -e .

Troubleshooting

IssueSolution
hermes: command not foundReload shell: source ~/.bashrc
API key not setRun hermes model to configure
Missing config after updatehermes config check β†’ hermes config migrate

For more diagnostics: hermes doctor

Minimum Requirements

No GPU required β€” Hermes calls external APIs.

πŸš€ Need a VPS for Hermes Agent?

Contabo offers the best price/performance ratio. VPS from €5/month with 8 GB RAM β€” ideal for 24/7 AI agent.

πŸ”₯ Get VPS at Contabo β†’
← Back to main page