Skip to main content

Terminal wrapper for Nous Research Hermes Agent installer

Project description

Hermes-Installer

PyPI version Python 3.8+ License: Apache 2.0

Terminal wrapper for Nous Research Hermes Agent installer

hermes-installer downloads and runs the Hermes Agent bash installer directly in your terminal with full PTY support. Arrow keys, interactive prompts, and selections work natively.

Features

  • Native Terminal PTY: Runs directly in your terminal — no web interface needed
  • Full Interactive Support: Arrow keys, dropdowns, checkboxes, password prompts all work
  • Cross-Platform: Works on Windows (WSL/Git Bash), Linux, and macOS
  • Auto-Download: Automatically downloads the latest Hermes installer from GitHub
  • Minimal Dependencies: Only requires requests

Installation

pip install hermes-installer

Usage

# Run the installer
hermes-installer

# Or
python -m hermes_installer

The installer will:

  1. Download Hermes installer from GitHub (cached for 1 hour)
  2. Launch it in your terminal with full interactive support
  3. Run the complete Hermes setup with all prompts

After installation, you can:

source ~/.bashrc  # reload shell (or: source ~/.zshrc)
hermes            # start chatting!

Platform-Specific Notes

Linux & macOS

Hermes installs to ~/.local/bin/hermes by default.

Running Hermes:

# The installer should add hermes to your PATH
# You may need to restart your terminal or run:
source ~/.bashrc  # or ~/.zshrc for zsh

# Then use hermes
hermes

If hermes command not found:

# Add to PATH manually (add to your ~/.bashrc or ~/.zshrc)
export PATH="$HOME/.local/bin:$PATH"

# Or run with full path
~/.local/bin/hermes

Windows

On Windows, Hermes is installed inside the Linux environment (WSL) or Git Bash, not in Windows itself.

Bash Selection Priority

  1. WSL2 (preferred) - if wsl --version succeeds
  2. Git Bash (fallback) - if found in standard locations

Running Hermes from Windows

From PowerShell/CMD:

# Use 'wsl' prefix to access the Linux-installed command
wsl hermes

From WSL terminal:

# Enter WSL first
wsl

# Then run directly
hermes

Hermes Commands

After installation, Hermes provides these commands:

Command Description
hermes Interactive CLI — start a conversation
hermes model Choose your LLM provider and model
hermes tools Configure which tools are enabled
hermes config set <key> <value> Set individual config values
hermes gateway Start the messaging gateway (Telegram, Discord, etc.)
hermes setup Run the full setup wizard
hermes update Update to the latest version
hermes doctor Diagnose any issues

Requirements

  • Python: 3.8+
  • Windows: WSL2 or Git Bash
  • Linux: Any distribution with bash
  • macOS: 10.14+ with bash or zsh
  • Git: Required by the Hermes installer

How It Works

┌─────────────┐     exec/spawn     ┌─────────────┐
│   Terminal  │ ◄────────────────► │   Hermes    │
│   (Your     │      Full PTY      │   Installer │
│   Shell)    │                    │             │
└─────────────┘                    └─────────────┘

The wrapper:

  1. Downloads install.sh from the NousResearch/hermes-agent GitHub repo
  2. Detects the best available shell:
    • Linux/macOS: Native bash/zsh
    • Windows: WSL → Git Bash
  3. Executes the installer with your terminal's stdin/stdout
  4. Full PTY support ensures interactive prompts work

Development

# Clone repository
git clone https://github.com/nousresearch/hermes-agent.git
cd hermes-installer

# Install in editable mode
pip install -e .

# Run
python -m hermes_installer

License

Apache 2.0 - See LICENSE file


Built by Nous Research. See the Hermes Agent documentation for more information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hermes_installer-1.0.0.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hermes_installer-1.0.0-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file hermes_installer-1.0.0.tar.gz.

File metadata

  • Download URL: hermes_installer-1.0.0.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for hermes_installer-1.0.0.tar.gz
Algorithm Hash digest
SHA256 69f8f93ed22b2e4cb8d345a012e6b6c068532cfc2c930c1fd2c9a0d7441925cc
MD5 e86e6fad7f22be6d49f49ac5bd8a229c
BLAKE2b-256 ec4e54ddeab3fe9e6f9bacd5cf0aeccd5f1aeda01ceda14d6e823df5cd458f8d

See more details on using hashes here.

File details

Details for the file hermes_installer-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for hermes_installer-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 15e47b7f89236eace86eb7f080da1c5b3ecbcc77184644977b06e09552b32df5
MD5 f77fec4dcccaa01c2a2a7fa0c5d7bb49
BLAKE2b-256 c9b7f17afc17139074dbb5a34a027ad8014c56669c120b1785d46b1b9ee8bac1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page