macOS
The cleanest path if you want the reference install experience with the fewest environment surprises.
Run the official installer
The installer handles the core runtime pieces for Hermes so you do not need to wire them together manually.
curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash
Reload your shell
Refresh the PATH changes so the `hermes` command resolves immediately.
source ~/.zshrc # or source ~/.bashrc
Verify the CLI
Make sure Hermes responds before you continue into provider setup.
hermes --version
Open the guided setup
Add your provider configuration and produce the first local config file.
hermes setup
Before you run it
- Use Terminal or iTerm with a normal user account.
- Install Xcode command line tools first if your shell cannot build small utilities.
- Keep GitHub reachable because the installer pulls official assets.
What success looks like
- `hermes --version` returns a version string instead of a shell error.
- `hermes` opens an interactive session and accepts input.
- Your config file exists under `~/.hermes/` after setup completes.
If it breaks
- If the shell still says `command not found`, reload the shell again and check whether `~/.local/bin` is in PATH.
- If the installer stops early, rerun it after installing Xcode command line tools with `xcode-select --install`.