hermes - 💡(How to fix) Fix [Bug]: `hermes uninstall` does not work on Windows

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

Additional Logs / Traceback (optional)

Root Cause

Root Cause Analysis (optional)

Code Example

PS C:\> dir $env:LOCALAPPDATA/hermes

    Directory: C:\Users\...\AppData\Local\hermes

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d----           5/29/2026 12:55 AM                hermes-agent
d----           5/28/2026 10:27 PM                hooks
d----           5/28/2026 10:27 PM                image_cache
d----           5/28/2026 10:27 PM                logs
d----           5/29/2026 12:19 AM                memories
d----           5/28/2026 10:27 PM                pairing
d----           5/29/2026 12:26 AM                pastes
d----           5/28/2026 10:53 PM                sandboxes
d----           5/29/2026 12:17 AM                sessions
d----           5/29/2026 12:17 AM                skills
-a---           5/29/2026 12:18 AM        2132960 models_dev_cache.json
-a---           5/29/2026 12:18 AM            672 ollama_cloud_models_cache.json
-a---           5/29/2026 12:18 AM            298 provider_models_cache.json
-a---           5/28/2026 10:27 PM            536 SOUL.md
-a---           5/29/2026 12:28 AM         598016 state.db
-a---           5/29/2026 12:17 AM          32768 state.db-shm
-a---           5/29/2026 12:54 AM        2793392 state.db-wal

---

CLI removed, cannot run `debug share`

---
RAW_BUFFERClick to expand / collapse

Bug Description

I wanted to test hermes and installed it on Windows with iex (irm https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.ps1)

Since it does not work with context window that I can fit onto my GPU with the model I like, and CPU is slow, I tried to delete it with hermes uninstall option 2 (Full uninstall - Remove everything including all data).

It has left a lot of stuff behind:

dir $env:LOCALAPPDATA/hermes

PS C:\> dir $env:LOCALAPPDATA/hermes

    Directory: C:\Users\...\AppData\Local\hermes

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d----           5/29/2026 12:55 AM                hermes-agent
d----           5/28/2026 10:27 PM                hooks
d----           5/28/2026 10:27 PM                image_cache
d----           5/28/2026 10:27 PM                logs
d----           5/29/2026 12:19 AM                memories
d----           5/28/2026 10:27 PM                pairing
d----           5/29/2026 12:26 AM                pastes
d----           5/28/2026 10:53 PM                sandboxes
d----           5/29/2026 12:17 AM                sessions
d----           5/29/2026 12:17 AM                skills
-a---           5/29/2026 12:18 AM        2132960 models_dev_cache.json
-a---           5/29/2026 12:18 AM            672 ollama_cloud_models_cache.json
-a---           5/29/2026 12:18 AM            298 provider_models_cache.json
-a---           5/28/2026 10:27 PM            536 SOUL.md
-a---           5/29/2026 12:28 AM         598016 state.db
-a---           5/29/2026 12:17 AM          32768 state.db-shm
-a---           5/29/2026 12:54 AM        2793392 state.db-wal

I would expect uninstall to work.

Steps to Reproduce

  1. Install with iex (irm https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.ps1) on Windows 11
  2. Run
  3. Uninstall with hermes uninstall option 2 (Full uninstall - Remove everything including all data)
  4. Check for files that were NOT removed: dir $env:LOCALAPPDATA/hermes

Expected Behavior

All files created by hermes should be removed: additional tools installed, configuration, logs, everything

Actual Behavior

In my case 936 MB of useless files left in $env:LOCALAPPDATA/hermes This includes memory and sessions that the user might believe to be removed.

Affected Component

Other

Messaging Platform (if gateway-related)

No response

Debug Report

CLI removed, cannot run `debug share`

Operating System

Windows 11

Python Version

It did NOT use my Python 3.12.8, I've seen a message that Python 3.11 was fetched with uv

Hermes Version

Too late - CLI removed

Additional Logs / Traceback (optional)

Root Cause Analysis (optional)

No response

Proposed Fix (optional)

No response

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

hermes - 💡(How to fix) Fix [Bug]: `hermes uninstall` does not work on Windows