DeepSeek Harness desktop uninstall: CLI registration, data

Uninstall & CleanupPublished 2026-10-01Author: DeepSeek Plugin Market
DeepSeek Harnessdsh desktopdesktop uninstallremove dsh command$DSH_HOMEmacOS
Uninstall DeepSeek Harness desktop the right order: remove the dsh CLI registration first, then the app. Windows clears app data but never touches ~/.dsh.

The one thing that matters when uninstalling the DeepSeek Harness desktop app is order: remove the dsh command registration before removing the app, because the app uninstaller will not do it for you. On Windows the uninstaller clears app data and update caches but never touches the sessions, settings, credentials and plugins under ~/.dsh.

This covers what to do first, what Windows clears, how to handle macOS, and when to choose Reset. The desktop app and the command-line version are separate, so removing the desktop app leaves the CLI alone, as outlined in DeepSeek Harness desktop download.

Before uninstalling the DeepSeek Harness desktop app: remove the dsh command registration

Remove the CLI command registration before uninstalling: open Manage dsh Command in the app menu and click Remove, because the official documentation states the app uninstaller does not remove that registration (source).

Four steps, in this order, before removing the app:

  1. Open Manage dsh Command — on macOS it sits in the app menu below Check for Updates; on Windows open the app menu in the top bar. Expect a dialog showing the current command with Install, Repair and Remove.
  2. Click Remove — this deletes the dsh command registration on the machine. Expect macOS to clear /usr/local/bin/dsh and Windows to drop the entry from the current user's PATH; Remove does not disturb unrelated installations.
  3. End running CLI commands — close every dsh process in your terminals. Expect the uninstaller to avoid competing with a live command and no conflicts during removal.
  4. Uninstall the app itself — use the normal system method. Expect the app to disappear without leaving a dangling dsh command pointing at it.

Why step 2 is not optional: command registration is an optional step after installing the desktop app, but once registered, the uninstaller does not undo it (source). Skip it and your terminal is left with a dsh command that goes nowhere.

Windows uninstall of the DeepSeek Harness desktop app: what it clears and what it keeps

The Windows uninstaller deletes the Electron user data directory, the product directory under %APPDATA%, and the update download cache under %LOCALAPPDATA%, then removes ordinary empty scope directories below %APPDATA%; the Harness home directory ~/.dsh (or DSH_HOME) is never touched (source).

Two checks afterwards:

  1. Confirm app data is gone — look under %APPDATA% and %LOCALAPPDATA% for the desktop app's browser storage, caches and update download cache. Expect those directories to be deleted or reduced to empty scope directories.
  2. Confirm your data is intact — check ~/.dsh for sessions, settings, credentials and plugins. Expect the directory to be complete with past sessions and installed plugins still present, which confirms only the executable layer changed.

One exception is worth knowing: an uninstaller launched with --updated or /KEEP_APP_DATA preserves data, which is how electron-builder performs in-place updates or replaces an older install from another directory (source). So in-place updates take the keep-data path and will not clear your sessions and plugins. Note also that this uninstall behaviour applies to Windows only.

Uninstalling the DeepSeek Harness desktop app on macOS: no official steps

The official README documents Windows uninstall behaviour only and gives no macOS uninstall steps, so there are no citable official steps for macOS; what can be verified is limited to removing the /usr/local/bin/dsh registration beforehand and the fact that deleting the app does not clear ~/.dsh (source).

Three things to do, without guessing:

  1. Remove the command registration first — use Manage dsh Command → Remove. Expect /usr/local/bin/dsh to be cleared; if the directory lacks permission, the system asks for administrator authentication.
  2. Remove the app the normal macOS way — move it out of Applications, for example to the Trash and empty it. Expect the app to be gone from Launchpad and the Applications list.
  3. Decide what happens to your data — the official docs never say uninstalling clears $DSH_HOME, so assume it is kept. Expect doing nothing to keep past sessions and plugins, and deleting ~/.dsh yourself to erase them only after you are sure.

Be careful with step 3: ~/.dsh holds your sessions, settings, credentials and plugins, and deleting it leaves no backup. If your goal is to repair the desktop app rather than wipe it, Reset is the better fit, because it clears only the desktop app's own layer and leaves shared data alone.

DeepSeek Harness desktop app: uninstall or Reset?

Reset is not uninstall: Reset deletes every entry under $DSH_HOME/profiles/desktop except the held transaction lock and reinitialises the built-in profile, removing desktop configuration and installed third-party packages without keeping a backup, while shared tasks, settings and the Harness-home .env stay unchanged (source).

Three paths by goal:

  1. The desktop app will not start and you want to repair it with data intact — use Reset. Expect the desktop app to return to a clean state while sessions, settings and plugin data stay as they are.
  2. You want the desktop app gone but the CLI to keep working — remove the command registration, then uninstall the app; ~/.dsh stays. Expect no desktop app on the system and the CLI's sessions and settings still usable.
  3. You want everything erased — uninstall the app, then delete ~/.dsh yourself. Expect sessions, settings, credentials and plugins to be gone for good.

Notes on uninstalling the DeepSeek Harness desktop app

  1. The order cannot be reversed — remove the command registration and end CLI commands first, then uninstall; doing it backwards leaves a dangling dsh or makes the uninstaller compete with a running command.
  2. Uninstalling does not touch ~/.dsh — on Windows and macOS alike, only app-side data is cleared and sessions, settings, credentials and plugins survive.
  3. In-place updates keep data — the Windows --updated / /KEEP_APP_DATA path preserves data, so updating and uninstalling have different data consequences.
  4. macOS has no official uninstall steps — the official docs cover Windows only, so do not treat web-sourced macOS steps as official.
  5. Uninstalling is not the same as cleaning up — the full leftover checklist is in How to clean up DeepSeek Harness leftovers.

If you reinstall or reset, plugins need setting up again. Rather than adding them one by one, use the built-in DSH Plugin Hub: it is the official plugin market for DSH plugins, shows a confirmation dialog before uninstalling, and handles reinstalls and bulk tidying on the same screen.

Uninstall confirmation

Sources: DeepSeek Harness desktop README, DeepSeek Harness for desktop - download, dshplugin/dsh-plugin-hub

FAQ

Why should I remove the dsh CLI registration before uninstalling the DeepSeek Harness desktop app?

The DeepSeek Harness desktop app uninstaller does not remove the CLI command registration, so you have to delete it yourself first. The Manage dsh Command entry in the app menu offers Install, Repair and Remove; run Remove before uninstalling, otherwise a dsh command pointing at a deleted app is left behind. The official guidance also says to end running CLI commands before updating or uninstalling.

What does the Windows uninstaller delete when I remove the DeepSeek Harness desktop app, and do sessions and plugins go with it?

On Windows, uninstalling the DeepSeek Harness desktop app deletes the Electron user data directory, the product directory under %APPDATA%, and the update download cache under %LOCALAPPDATA%, then removes ordinary empty scope directories below %APPDATA%. The Harness home directory (~/.dsh or DSH_HOME: sessions, settings, credentials, plugins) is never touched, so sessions and plugin data survive.

How do I uninstall the DeepSeek Harness desktop app on macOS?

The official DeepSeek Harness desktop README documents Windows uninstall behaviour only, so there are no citable official macOS uninstall steps. Two things can be verified: macOS installation creates /usr/local/bin/dsh, which you remove first through Manage dsh Command, and deleting the app itself does not clear the data under ~/.dsh.

Does ~/.dsh survive uninstalling the DeepSeek Harness desktop app, and how do I erase everything?

Uninstalling the DeepSeek Harness desktop app leaves ~/.dsh in place: the desktop app and the command-line version share sessions, settings, credentials and plugins under $DSH_HOME, which defaults to ~/.dsh, and uninstalling the desktop app does not clear that directory. To wipe data too you delete ~/.dsh yourself; to restore the desktop app to a clean state while keeping data, use Reset instead of uninstalling.

What is the difference between Reset and uninstall in the DeepSeek Harness desktop app?

In the DeepSeek Harness desktop app, Reset clears only its own executable layer: it deletes every entry under $DSH_HOME/profiles/desktop except the transaction lock it holds, reinitialises the built-in profile, and removes desktop configuration and installed third-party packages without keeping a backup, while shared tasks, settings and the Harness-home .env stay as they are. Uninstalling removes the whole app from the system, so choose Reset when you only need to repair the desktop app and keep your data.

Related Terms

Manage dsh Command (desktop menu item)
Manage dsh Command is the command registration entry in the DeepSeek Harness desktop app menu, sitting below Check for Updates; it shows the current command and offers Install, Repair and Remove.— DeepSeek Harness desktop README
/usr/local/bin/dsh
/usr/local/bin/dsh is the launcher path the DeepSeek Harness desktop app creates when registering the command-line entry on macOS; when the directory lacks permission the system asks for administrator authentication and shell startup files are not modified.— DeepSeek Harness desktop README
$DSH_HOME
$DSH_HOME is the DeepSeek Harness product data root, defaulting to ~/.dsh, holding sessions, settings, credentials and plugins; uninstalling the desktop app does not clear it, and the desktop app only owns the profiles/desktop layer inside it.— DeepSeek Harness desktop README
Reset (desktop)
Reset is the profile recovery operation in the DeepSeek Harness desktop app; it deletes every entry under $DSH_HOME/profiles/desktop except the held transaction lock and reinitialises the built-in profile, keeping no backup.— DeepSeek Harness desktop README

Sources