The easiest way to install Hermes Agent is to use the official one-line command. The official Installation documentation gives the following way: curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash. Linux, macOS, and WSL2 all follow this route.
Check before installation
- If you are Windows, install WSL2 first, don't run directly in native Windows.
- Prepare an API key for a model provider, such as Nous, OpenRouter, Anthropic, and OpenAI compatible services.
- The terminal can access GitHub normally because the installation script pulls the repository and dependencies.
What to do after installation
The script installs dependencies, clones the project, creates a virtual environment, and configures global hermes commands. When you're done, reload the shell:source ~/.bashrc or source ~/.zshrc, then run hermes setup with the model and then run hermes to start chatting.
In a word: first one line of command installation, then source shell, and finally hermes setup.
Official open source address: https://github.com/NousResearch/hermes-agent; Official document entry: https://hermes-agent.nousresearch.com/.