Search the field guide ⌘K

Linux install path

Install Hermes Agent on Linux

On Linux, start with the official installer in a normal user account unless you intentionally need a shared system install. Verify hermes doctor before adding providers, browser automation, gateways, or production files.

Agent Guide is an independent editorial resource. It is not affiliated with, endorsed by, or sponsored by Nous Research, Hermes Agent, or Hermes/Hermes brand owners. Product names and marks belong to their respective owners.

Short answer

Install Hermes Agent on Linux from the official installation guide, then verify the launcher, data directory, and diagnostics before connecting real credentials. The official docs describe a git-based installer and non-sudo handling for service users.

For a VPS or always-on gateway, treat Linux installation as an operations task: choose user, data directory, port exposure, browser dependency policy, backups, and update path before running real workflows.

Prerequisites

Command to verify against official docs

The official docs describe separate handling when a service user cannot install Chromium system libraries. Capture installer output because it may print admin commands that need to be run separately.

# Copy from official docs after review
curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash

# For headless setups that do not need browser automation, verify official skip-browser support first
curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash -s -- --skip-browser

# After a new shell
hermes doctor

Linux deployment decisions

DecisionDefaultReason
Install userNormal user for evaluation; dedicated unprivileged user for servicesLimits accidental access and makes data ownership clearer.
Browser automationSkip until needed on headless serversReduces dependency and attack surface for first setup.
Execution backendDocker for production-like command executionKeeps generated commands away from the host filesystem.
Data backupBack up ~/.hermes or explicit HERMES_HOME before upgradesProtects config, sessions, skills, and provider setup.

Failure modes and fixes

SymptomProbable causeFix
hermes doctor shows missing Chromium librariesNo sudo or missing system dependenciesFollow official dependency output or use --skip-browser for headless use.
Service cannot find hermesMinimal service PATH misses ~/.local/binAdd PATH explicitly or use a controlled symlink as official docs describe.
Data appears under the wrong userInstaller ran with root or different accountStop and decide whether to move state or reinstall under the intended user.
Gateway exposed broadlyPort binding or allowlist not reviewedBind locally first and configure allowlists before external access.

Direct answer

On Linux, start with the official installer in a normal user account unless you intentionally need a shared system install. Verify hermes doctor before adding providers, browser automation, gateways, or production files.

This page is part of Agent Guide's independent Hermes Agent cluster. It is source-backed and labelled when first-hand execution has not been run.

What this page does not cover

Official sources reviewed

Source Used for Last checked Confidence
Hermes Agent installation guide Install commands, prerequisites, Windows/native installer details, and post-install checks. 2026-06-02 high
Hermes Agent Docker guide Docker run modes, mounted data directory, gateway operation, ports, and production cautions. 2026-06-02 high
Hermes Agent security guide Approval modes, gateway authorization, Docker terminal backend hardening, and credential cautions. 2026-06-02 high

Known caveats: Agent Guide did not run the Linux installer in this batch. Use official docs for the final command, distro-specific dependency output, and current service-user behavior.

FAQ

Should I install Hermes Agent with sudo on Linux?

Use a normal user or dedicated service user unless you intentionally need a shared system install. Root-mode changes data ownership and blast radius.

Is Linux the best path for WSL2 users?

For many Windows users, WSL2 is the most Linux-like path and easier to compare with official shell examples.

Operator checklist

Get the Agent Guide launch checklist

Receive the smoke-test order for install path, sandbox boundary, provider setup, source review, and production checks.