- updating.md: Note that 'hermes update' auto-handles config migration - cli.md: Add summary_model to compression config, fix display config (add personality/compact), remove unverified pastes/ claim - configuration.md: Add 5 missing config sections (stt, human_delay, code_execution, delegation, clarify), fix display defaults, fix reasoning_effort default to empty/unset - messaging/index.md: Add GATEWAY_ALLOWED_USERS to security section - skills.md: Add category field to skills_list return value - mcp.md: Document auto-registered utility tools (resources/prompts) - architecture.md: Fix file_tools.py reference, base_url default to None, synchronous agent loop pseudocode - cli-commands.md: Fix hermes logout description - environment-variables.md: Add HERMES_QUIET, HERMES_EXEC_ASK, BROWSER_INACTIVITY_TIMEOUT, GATEWAY_ALLOWED_USERS Verification scan: 27/27 checks passed, zero issues remaining.
81 lines
1.9 KiB
Markdown
81 lines
1.9 KiB
Markdown
---
|
|
sidebar_position: 3
|
|
title: "Updating & Uninstalling"
|
|
description: "How to update Hermes Agent to the latest version or uninstall it"
|
|
---
|
|
|
|
# Updating & Uninstalling
|
|
|
|
## Updating
|
|
|
|
Update to the latest version with a single command:
|
|
|
|
```bash
|
|
hermes update
|
|
```
|
|
|
|
This pulls the latest code, updates dependencies, and prompts you to configure any new options that were added since your last update.
|
|
|
|
:::tip
|
|
`hermes update` automatically detects new configuration options and prompts you to add them. If you skipped that prompt, you can manually run `hermes config check` to see missing options, then `hermes config migrate` to interactively add them.
|
|
:::
|
|
|
|
### Updating from Messaging Platforms
|
|
|
|
You can also update directly from Telegram, Discord, Slack, or WhatsApp by sending:
|
|
|
|
```
|
|
/update
|
|
```
|
|
|
|
This pulls the latest code, updates dependencies, and restarts the gateway.
|
|
|
|
### Manual Update
|
|
|
|
If you installed manually (not via the quick installer):
|
|
|
|
```bash
|
|
cd /path/to/hermes-agent
|
|
export VIRTUAL_ENV="$(pwd)/venv"
|
|
|
|
# Pull latest code and submodules
|
|
git pull origin main
|
|
git submodule update --init --recursive
|
|
|
|
# Reinstall (picks up new dependencies)
|
|
uv pip install -e ".[all]"
|
|
uv pip install -e "./mini-swe-agent"
|
|
uv pip install -e "./tinker-atropos"
|
|
|
|
# Check for new config options
|
|
hermes config check
|
|
hermes config migrate # Interactively add any missing options
|
|
```
|
|
|
|
---
|
|
|
|
## Uninstalling
|
|
|
|
```bash
|
|
hermes uninstall
|
|
```
|
|
|
|
The uninstaller gives you the option to keep your configuration files (`~/.hermes/`) for a future reinstall.
|
|
|
|
### Manual Uninstall
|
|
|
|
```bash
|
|
rm -f ~/.local/bin/hermes
|
|
rm -rf /path/to/hermes-agent
|
|
rm -rf ~/.hermes # Optional — keep if you plan to reinstall
|
|
```
|
|
|
|
:::info
|
|
If you installed the gateway as a system service, stop and disable it first:
|
|
```bash
|
|
hermes gateway stop
|
|
# Linux: systemctl --user disable hermes-gateway
|
|
# macOS: launchctl remove ai.hermes.gateway
|
|
```
|
|
:::
|