Skip to content

Install on Linux

RequirementMinimumRecommended
OSAny modern LinuxUbuntu 22.04+ / Debian 12+
Python3.103.11+
RAM2GB4GB+
Disk1GB5GB+
NetworkRequiredBroadband
Terminal window
curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash

This script automatically:

  • Installs uv package manager
  • Installs Python 3.11 (if not present)
  • Clones the repository
  • Sets up virtual environment
  • Configures PATH
Terminal window
curl -fsSL https://res1.hermesagent.org.cn/install.sh | bash

Ubuntu / Debian:

Terminal window
sudo apt update && sudo apt install -y python3 python3-pip python3-venv git curl

CentOS / RHEL:

Terminal window
sudo yum install -y python3 python3-pip git curl

Arch Linux:

Terminal window
sudo pacman -S python python-pip git curl
Terminal window
git clone https://github.com/NousResearch/hermes-agent.git ~/.hermes-agent
cd ~/.hermes-agent
Terminal window
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
Terminal window
echo 'alias hermes="~/.hermes-agent/.venv/bin/python -m hermes"' >> ~/.bashrc
source ~/.bashrc
Terminal window
hermes --version
hermes doctor
Terminal window
# Install Python 3.11 via deadsnakes PPA (Ubuntu)
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt install python3.11 python3.11-venv
Terminal window
# Don't use sudo with Hermes Agent
# If you get permission errors, fix ownership:
sudo chown -R $USER:$USER ~/.hermes
Terminal window
# Use China mirror for faster downloads
export HERMES_MIRROR=cn
curl -fsSL https://res1.hermesagent.org.cn/install.sh | bash