Updating & Uninstalling
Updating & Uninstalling
Start with meaning, then move to detail.
This lesson explains Updating & Uninstalling as part of getting started with Hermes correctly. You will learn what it does, when it matters, and the smallest safe test that proves it works.
If you are new, do not memorize names. Focus on three questions: what problem does this solve, what access does it need, and how can you verify the result?
For practice, inspect the first example, identify its effects, run it on test data, and compare the result with the source claim.
For advanced readers, inspect Updating, What happens during an update, Updating against a non-default branch: --branch, then verify failure modes and version compatibility.
No prior experience is required; follow the steps on a safe test setup first.
A clear outcome before you read.
- Understand Updating & Uninstalling without assumed prior knowledge.
- Separate the source description from what still needs testing in your environment.
- Read the first command and identify its inputs and outputs before copying it.
How to update Hermes Agent to the latest version or uninstall it
What does the source say, and in what order?
- 01Updating
Start here to understand the core idea or structure.
- 02What happens during an update
Read this after the foundation, then connect it to the previous step.
- 03Updating against a non-default branch: --branch
Read this after the foundation, then connect it to the previous step.
- 04Local changes on non-interactive updates
Read this after the foundation, then connect it to the previous step.
- 05Preview-only: hermes update --check
Read this after the foundation, then connect it to the previous step.
- 06Full pre-update backup: --backup
Read this after the foundation, then connect it to the previous step.
- 07Windows: another hermes.exe is running
Read this after the foundation, then connect it to the previous step.
- 08Recommended Post-Update Validation
Read this after the foundation, then connect it to the previous step.
- 09If your terminal disconnects mid-update
Read this after the foundation, then connect it to the previous step.
- 10Checking your current version
Finish here to verify the result and special cases.
Copy only after you understand the effect.
hermes updatehermes update --branch release-candidate
hermes update --check --branch experimental # preview behindness only# ~/.hermes/config.yaml
updates:
non_interactive_local_changes: stash # default: keep + auto-restore
# non_interactive_local_changes: discard # throw local source edits awayRead the first command and identify its inputs and outputs before copying it.
Match every command to your installed Hermes version, review the files and accounts it can reach, and use non-sensitive data for the first test. If this explanation differs from the source, the official source wins.