Hermes is an open-source, self-hostable, self-evolving AI agent (Python, MIT). Installing it on WSL2 is the same as on Linux—the official installer drops everything into ~/.hermes. This guide was verified against a live WSL2 instance running Hermes v0.16.0.
1. Install (official one-liner)
| |
The installer bundles its own dependencies: uv, Python 3.11, Node.js, ripgrep, ffmpeg. On WSL2 it detects your existing Git and uses that directly (no bundled Git needed). Everything lands in ~/.hermes, isolated from your system Python.
Verify the command is on your PATH:
| |
2. Run the setup wizard
| |
This walks you through the whole configuration in one go—model providers, channels, skills. Want a web-based wizard?
| |
3. Start the gateway + chat
| |
Then send a message to the bot on your configured channel. That’s the standard path: install → setup → start gateway → chat.
4. (Optional) Keep it running with a systemd user service
hermes gateway start runs in your terminal; close the terminal and it stops. To keep Hermes running across logouts and auto-start it on boot, use a systemd user service. The unit below is adapted from a live instance (verified 2026-07-31)—save it as ~/.config/systemd/user/hermes-gateway.service:
| |
Then enable and start it, and turn on linger so the user service keeps running even without active login sessions:
| |
%h expands to your home directory, so this unit works for anyone who installed to the standard ~/.hermes path.
Troubleshooting
hermesnot found — The installer puts the binary at~/.hermes/hermes-agent/venv/bin/hermesand symlinks it to~/.local/bin. Make sure~/.local/binis on yourPATH(WSL2 usually has it by default).- Service won’t start — Check
journalctl --user -u hermes-gateway.service -f. The most common cause is an incompletehermes setup(missing model provider or channel configuration). - WSL2 pulls in Windows PATH — The service’s
PATHmay include Windows paths inherited from WSL2. Purely cosmetic; the actual process runs the venv Python.
Sources + freshness
Installation steps come from the official Hermes docs (quickstart, install.sh). The systemd unit and ~/.local/bin symlink details were verified against a live WSL2 instance on 2026-07-31 (Hermes v0.16.0). Hermes moves fast—double-check the installer URL and version before deploying.
