Back to AI Q&A
How do I update and uninstall Hermes Agent?

How do I update and uninstall Hermes Agent?

AI Q&A Admin 491 views

Before updating Hermes Agent, back up the configuration and do not delete the directory directly. The most important thing is to keep the API key, profiles, memory, gateway configuration, and session data in the ~/.hermes. The program itself can be reinstalled, but it is troublesome if the configuration is lost.

What to do before updating

  1. Backup ~/.hermes.
  2. Check the official GitHub releases to see what changes in the new version.
  3. If you run a Telegram/Discord gateway, stop the running service first.
  4. Then reinstall or update according to the official installation method.

What to delete when uninstalling

If it's just a reinstall, don't delete ~/.hermes. If you want to completely uninstall it, then remove the Hermes installation directory, global command links, and configuration directory. Before deleting, make sure that there are no memory, profiles, env, or sessions that need to be retained.

How to verify after update

Run hermes --version or reopen the hermes to test whether the model, file read, and gateway are healthy.

In a word: Update first back up ~/.hermes, and confirm whether the configuration and memory are still needed before uninstalling.

Official open source address: https://github.com/NousResearch/hermes-agent; Official document entry: https://hermes-agent.nousresearch.com/.

Recommended Tools

More