Install on Linux
System Requirements
Section titled “System Requirements”| Requirement | Minimum | Recommended |
|---|---|---|
| OS | Any modern Linux | Ubuntu 22.04+ / Debian 12+ |
| Python | 3.10 | 3.11+ |
| RAM | 2GB | 4GB+ |
| Disk | 1GB | 5GB+ |
| Network | Required | Broadband |
Method 1: One-Line Install (Recommended)
Section titled “Method 1: One-Line Install (Recommended)”curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bashThis script automatically:
- Installs
uvpackage manager - Installs Python 3.11 (if not present)
- Clones the repository
- Sets up virtual environment
- Configures PATH
China Mirror
Section titled “China Mirror”curl -fsSL https://res1.hermesagent.org.cn/install.sh | bashMethod 2: Manual Install
Section titled “Method 2: Manual Install”Step 1: Install Dependencies
Section titled “Step 1: Install Dependencies”Ubuntu / Debian:
sudo apt update && sudo apt install -y python3 python3-pip python3-venv git curlCentOS / RHEL:
sudo yum install -y python3 python3-pip git curlArch Linux:
sudo pacman -S python python-pip git curlStep 2: Clone Repository
Section titled “Step 2: Clone Repository”git clone https://github.com/NousResearch/hermes-agent.git ~/.hermes-agentcd ~/.hermes-agentStep 3: Set Up Virtual Environment
Section titled “Step 3: Set Up Virtual Environment”python3 -m venv .venvsource .venv/bin/activatepip install -r requirements.txtStep 4: Add to PATH
Section titled “Step 4: Add to PATH”echo 'alias hermes="~/.hermes-agent/.venv/bin/python -m hermes"' >> ~/.bashrcsource ~/.bashrcStep 3: Verify
Section titled “Step 3: Verify”hermes --versionhermes doctorTroubleshooting
Section titled “Troubleshooting”Python version too old
Section titled “Python version too old”# Install Python 3.11 via deadsnakes PPA (Ubuntu)sudo add-apt-repository ppa:deadsnakes/ppasudo apt install python3.11 python3.11-venvPermission denied
Section titled “Permission denied”# Don't use sudo with Hermes Agent# If you get permission errors, fix ownership:sudo chown -R $USER:$USER ~/.hermesNetwork timeout
Section titled “Network timeout”# Use China mirror for faster downloadsexport HERMES_MIRROR=cncurl -fsSL https://res1.hermesagent.org.cn/install.sh | bashNext Steps
Section titled “Next Steps”- Model Configuration — Set up your LLM
- Quick Start — Start using Hermes Agent