The reset scripts live in theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/techjarves/Hermes-USB-Portable/llms.txt
Use this file to discover all available pages before exploring further.
scripts/ subdirectory and provide a safe, interactive way to delete downloaded runtimes (and optionally user data) to trigger a clean reinstall on next launch. Instead of deleting folders by hand, running a reset script ensures the gateway is stopped first and gives you a clear summary of exactly what will be removed before you confirm.
Modes
| Mode | What is deleted | What is kept |
|---|---|---|
soft | .cache/runtimes/ and src/hermes-agent/ | data/ — API keys, config, chat history |
full | Everything above plus data/ and .cache/ | Nothing — completely fresh start |
Usage
- Windows (PowerShell)
- Unix (macOS / Linux)
What Happens
When you run either reset script, it walks through the following steps automatically:- Gateway is stopped — if
data/auth.lockexists it is removed, and any runninghermes gatewayprocesses are killed so no stale lock files are left behind. - Folders to be deleted are listed with their sizes — you can see exactly how much disk space will be freed before anything is touched.
- Preserved data files are listed (soft reset only) — the script explicitly confirms that the following are staying:
data/.env— API keysdata/config.yaml— settingsdata/sessions/— chat history
- Confirmation prompt — you must type
yesto proceed. Any other input cancels the operation and nothing is deleted. - Deletion and completion report — each folder is removed and confirmed, then a summary message is printed.
After Reset
- After Soft Reset
- After Full Reset
Run the launcher to re-download runtimes and rebuild the source tree:Your API keys (
data/.env), configuration (data/config.yaml), and chat history (data/sessions/) are all preserved exactly as they were.Arguments Reference
| Argument | Platform | Effect |
|---|---|---|
-Mode soft | Windows | Delete runtimes and source only; preserve data/ |
-Mode full | Windows | Delete runtimes, source, and data/ |
soft | Unix | Delete runtimes and source only; preserve data/ |
full | Unix | Delete runtimes, source, and data/ |
| (no argument) | Both | Interactive prompt — choose mode at runtime |
The reset script is the recommended way to clean up runtime files rather than deleting folders manually. Running the script first stops the gateway and removes
data/auth.lock, which prevents stale lock files that could otherwise cause the gateway to refuse to start on the next launch.