GuidesHosting choices

Hermes Agent update: hermes update, backups and rolling back

How to update Hermes Agent safely: hermes update and --check, Docker and desktop updates, what is kept, backing up first, the gateway restart and going back.

November 28, 2026The Everpod team
The short answer

For an install made with Nous Research’s script, the update is one command, run as the user Hermes runs as:

hermes --version          # what you have
hermes update --check     # what you would get; changes nothing
hermes update             # back up state, move to the new release, restart the gateway
Copied

It follows the stable channel, so it moves from release to release: v0.23.5, dated November 27, 2026, is the latest as of November 28. Re-running the installer one-liner is the documented alternative. Docker updates by pulling a new image, and the desktop and Microsoft Store apps update themselves. Your settings, keys, skills and sessions in ~/.hermes stay where they are. Before a big jump, take a full backup with hermes backup, because going back to an older release later needs your data as it was too.

How each kind of install updates

Nous’s updating page gives one route per install. As of v0.23.5:

Installed withUpdate with
The install script (install.sh on Linux, macOS and WSL2, install.ps1 on Windows)
hermes update, or the installer again
Docker
Pull the new image and recreate the container on the same data volume
The macOS desktop app
The app’s own Update control
Windows MSIX (sideloaded)
The app’s Update control and Windows App Installer
Microsoft Store
The Store
Termux on Android
pkg update, then pkg upgrade hermes-agent
Nix
Update the flake or profile and rebuild

One route is missing on purpose: pip. Nous’s installation page does not mention pip or PyPI, and its updating page lists a bare pip install as unsupported, one that installs hermes-agent with no dependencies. The package on PyPI was last published as 0.19.0 on July 20, 2026, four minor versions behind. If you installed with pip install hermes-agent, updating that package will not reach the current release; moving to the installer does.

The desktop apps follow their own schedule. Each of the last three releases says the installed desktop app has “no change in this release”, so a desktop version that lags the command line is expected. What Hermes Desktop is covers the app itself, and Hermes Agent on Windows has the Windows catch: an update run from inside the desktop app cannot rebuild files Windows has locked.

Check what you have and what is out

hermes --version prints the installed version. hermes update --check, in the CLI reference’s words, checks “whether an update is available without pulling, installing dependencies, or restarting anything.” A second read-only flag, hermes update --plan, lists the services the update would touch, how each is supervised, and how it would restart them, which is worth a look on a server running more than one profile.

The newest release is on GitHub’s releases page. Releases there are frequent, and the page also carries dated canary pre-releases such as canary.20261128T064458Z-v0.23.5; the stable channel skips those. Hermes also mentions new releases on its own as you use it; to stop the notices, while keeping hermes update and --check working:

hermes config set updates.check false
Copied

What an update keeps, and what to back up first

The code lives in ~/.hermes/hermes-agent/ and everything that is yours lives beside it in ~/.hermes/: config.yaml for settings, .env for keys, and your skills, memory and sessions. An update replaces the code and leaves that data in place. It does two things to the data you should know about: it can ask about new config options as it migrates your settings, and a newer gateway may upgrade its database, state.db, in a way older releases cannot read.

Before it changes anything, hermes update takes a quick snapshot: “Hermes saves selected state files for every profile in that profile’s state-snapshots/ directory.” That is the default. If the snapshot fails, the update prints a warning and carries on, so it is a convenience rather than a guarantee. For a copy you control, make a full backup yourself first:

hermes backup              # zip of your configuration, skills, sessions and data
                           # written to ~/hermes-backup-<timestamp>.zip by default
Copied

The archive is your whole Hermes home, keys included, so keep it somewhere only you can read. To have every update write a full zip instead of the quick snapshot, set it in ~/.hermes/config.yaml; the docs warn that a full backup can take several minutes on a large data directory:

updates:
  pre_update_backup: full     # quick is the default; off turns snapshots off
Copied

For a single run, hermes update --backup forces a full backup and hermes update --no-backup skips it. If you have edited Hermes’s own source in the checkout, the update stashes the edits rather than deleting them, and asks about restoring them afterwards.

What happens to the gateway

On Linux and macOS, the update stops the running gateways before it moves the code and starts them again on the new code once the dependencies are ready. Nous puts the gap at a few seconds:

The bot will briefly go offline during the restart (typically 5–15 seconds) and then resume.
Copied

It waits for in-flight work first: a gateway running a long chat turn or a cron job is left to drain, and the update prints what it is waiting on, a line like → hermes-gateway: draining (up to 1875s)... followed by the work it is waiting for. If the wait runs out, the gateway keeps its restart pending and restarts at its next idle moment. hermes update --force stops every gateway at once and interrupts that work. One thing is not restarted for you: a hermes dashboard or hermes serve you started by hand; “the updater leaves them running and asks their owner to restart them.”

Afterwards, the docs’ checks:

hermes --version
hermes gateway status      # running, and started after the update?
hermes doctor              # exits non-zero while anything is broken
hermes pm status           # the pinned tools and dependency environments
Copied

If the gateway is still on old code, hermes gateway restart restarts it, and --all restarts every profile’s. An update you cannot watch, such as one sent as /update from a chat, logs to ~/.hermes/logs/update.log:

tail -f ~/.hermes/logs/update.log
Copied

If the update refuses, times out, or leaves a warning about gateways behind, hermes update failed has each message and its fix.

Updating the Docker image

Inside the container, hermes update refuses and prints the pull command instead, since the code belongs to the image. All your state is in the folder mounted at /opt/data, so replacing the container keeps it. With the container from the install guide:

docker pull nousresearch/hermes-agent:stable
docker stop hermes         # stops the gateway
docker rm hermes           # removes the container; your ~/.hermes folder stays
docker run -d --name hermes --restart unless-stopped \
  -v ~/.hermes:/opt/data nousresearch/hermes-agent:stable gateway run
Copied

On Docker Hub on November 28, stable and v0.23.5 pointed at the same image. A version tag stays put, so pinning one and changing it on purpose is the Docker way to choose when you update. With Docker Compose it is a pull followed by up -d, with the same environment you started it with; Hermes Agent with Docker Compose has the file and the exact commands.

Staying on a version, or going back

A source install has three settings for what it follows. The default is releases only; the others are for testing:

hermes update --set-channel main     # follow every commit on main from now on
hermes update --set-channel stable   # back to releases only
hermes update --channel main         # one run against main; nothing is saved
Copied

There is no documented command to pin a source install to a release number. The installer can pin an exact commit with --commit followed by its hash, which then takes precedence over the channel; the script expects the commit to be on the branch it installs. On a server where you want to choose the day of each update, the simpler options are to run hermes update only when you decide to, or to use Docker with a version tag.

Going back takes more than older code. The updating page is plain about it: “A code checkout alone is not a data rollback,” and “An older release cannot run on a state.db the gateway runtime has written.” Once the gateway has written its history there, hermes update refuses to move to a release that predates it. Nous’s order for a rollback:

  1. Stop the gateway: hermes gateway stop.
  2. Check out the older release.
  3. Restore your data from before the update: the newest pre-update snapshot with /snapshot restore <id> inside the hermes chat (/snapshot alone lists them), or a full backup with hermes import followed by the zip’s path.

Anything that happened after the update, new sessions included, is not in that snapshot, and an import overwrites the files in your Hermes home with the archive’s. If you may want that newer work later, run hermes backup before step 1 and keep the zip aside. The same holds in Docker: an older version tag meets the database in the mounted folder, so that folder needs restoring too.

What changed in the last three releases

All three are patch rollups, and none lists a step you must take. Nous says the full curated notes for this run of releases will come with v0.24.0. What an updater might notice:

Hermes releases often, so on a machine other people rely on, the quiet hours and a backup first are worth more than updating the day a release lands. Where Hermes should run at all, and who updates it, is the subject of where to host Hermes Agent.

Hermes installed on an always-on developer pod, which you run yourself.

A developer pod is a permanent cloud computer (VPS), set up and secured for you, with your pick of Claude Code, Codex, OpenCode, Pi, Hermes and OpenClaw installed. Run more agents at once than your laptop can hold, and keep them working when it’s closed. From $24 a month, built in about ten minutes.