dsh update commands cheat sheet: DeepSeek Harness plugins

Update & UpgradePublished 2026-09-10Author: DeepSeek Plugin Market
DeepSeek HarnessDSH pluginupdate commandsupgradedsh plugin update
All dsh update commands in one table: re-run npx, npm update -g, git pull plus rebuild, and dsh plugin --profile update, plus how to verify each.

Updating dsh comes down to two kinds of action: updating the harness itself and updating DSH plugins. Pick the harness command that matches how you installed it, and handle plugins either through dsh plugin --profile (which forwards to pnpm) or the update button in the plugin market. This article pins each command down in a command, scenario, and verification table, without repeating troubleshooting steps.

DeepSeek Harness update commands: npx, global npm, and source builds

Harness updates split into three paths by install method, and they do not mean the same thing (source). Find your row first:

How you installed itUpdate commandWhen to use itHow to verify
npx, no installRe-run npx @deepseek-ai/dsh webTrying it out, no global installdsh --version (or the UI version) has moved forward
Global npm installnpm update -g @deepseek-ai/dshYou use the dsh command in a terminal dailydsh --version prints a different version
Built from sourcegit pull then pnpm install then pnpm run buildTracking latest code, editing sourcepnpm dsh web starts and the version has advanced

The details behind the three paths:

  1. npx has no separate upgrade command. Every run resolves the published version available at that moment. Expected: a local npx cache hit reuses the old package, so if the version has not changed, clear the cache and try again.
  2. A global install is a single command. npm update -g @deepseek-ai/dsh only changes the global package directory. Expected: your user data directory is untouched, so sessions and DSH plugin configuration stay where they are.
  3. A source build must pull and then rebuild. After git pull you must run both pnpm install and pnpm run build. Expected: pnpm dsh web only consumes built artifacts and never rebuilds, so skipping the build hides your changes.
  4. Mixed installs: confirm the version first. If you are not sure how you installed it, run dsh --version and match the table. Expected: a recognizable version usually tells you which path you are on.

The full walkthrough of all three install methods lives in how to update dsh.

DeepSeek Harness plugin update commands: how dsh plugin --profile works

DSH plugin updates all go through dsh plugin --profile <name> <pnpm args>, which forwards arguments to pnpm inside that profile directory, so the update subcommand matches pnpm (source). Choose by intent:

  1. Update every plugin in the profile. Run dsh plugin --profile web update. Expected: pnpm raises every plugin in that profile's dependency manifest to its latest version.
  2. Update a single plugin. Run dsh plugin --profile web update <package>. Expected: other plugins keep their versions, which suits a targeted upgrade.
  3. List what is installed and at which version. Swap the subcommand for list. Expected: you get the profile's plugin inventory before deciding what to upgrade.
  4. Switch to the graphical route. Click update in the market and confirm an in-place overwrite. Expected: both routes edit the same dependency manifest, so doing either first never double-installs.
Confirm update

When a newer version is detected, DSH Plugin Hub exposes an update entry in the installed list and overwrites in place after you confirm. To walk through each install method one by one, see how to update dsh and the full update guide.

How to verify a DeepSeek Harness update: version, startup, plugins

Three checks follow any update: the version number, whether it starts, and whether DSH plugins still load (source). Go in order:

  1. Check the version. Run dsh --version (equivalently dsh -V). Expected: the version has moved forward, which proves the update took effect.
  2. Check that it starts. Restart the process and open the Web UI. Expected: the page renders normally; if it does not start, inspect the port and foreground logs rather than updating again immediately.
  3. Check that plugins still load. Open the installed list and compare. Expected: the list looks normal and no DSH plugin reports a load failure, which means the new harness is still compatible with existing plugins.
  4. Check that sessions and config survived. Confirm your existing sessions and settings are present. Expected: a harness update only touches the program directory, so user data under ~/.dsh is unaffected.

The complete list of command arguments and exit codes is in the dsh command cheat sheet.

Where to look when a DeepSeek Harness update hangs or fails

This article only covers how to write the commands; hangs and errors belong to the dedicated troubleshooting pieces (source). Route by symptom:

  1. The command sits still for a long time. See update hangs or runs slow. Expected: work through deciding whether it is really stuck, interrupting safely, clearing caches, speeding up the network, then retrying.
  2. The command errors out and exits. See update failed. Expected: identify whether the error belongs to permissions, a mirror, or the build step, then treat it accordingly.
  3. You want to roll back after upgrading. See how to pin a specific version. Expected: pin to a working version instead of reinstalling repeatedly.
  4. You only want to know the latest version. See check the version and read the changelog. Expected: get a version baseline before deciding whether to move at all.

Caveats and limits of DeepSeek Harness update commands

  1. The harness and DSH plugins are two separate tracks. A harness update command does not change plugins, and a plugin update does not upgrade the harness; do not expect one command to do both.
  2. The source path must rebuild. git pull only swaps code, while pnpm dsh web consumes built artifacts, so skipping pnpm run build looks like "the update did nothing".
  3. The npx cache can mislead you. A cache hit on an old package means re-running changes nothing, so it can look updated when it is not.
  4. Plugin updates are bound to a profile. The --profile value decides which plugin set is updated, and the wrong one updates the wrong place.
  5. Read the notes during the developer preview. The official docs state plainly that breaking changes lie ahead, so skim the release entry before upgrading and pin a version if needed.

Plugin update entries live in the installed list of DSH Plugin Hub, alongside the plugin market, update detection, and log diagnostics in a single interface.

Sources: DeepSeek Harness README (official repository), dsh CLI README (official repository), dshplugin/dsh-plugin-hub

FAQ

What update commands does DeepSeek Harness have, and when do I use each one?

DeepSeek Harness has three update paths, one per install method: re-run npx @deepseek-ai/dsh web if you never installed it globally, run npm update -g @deepseek-ai/dsh for a global npm install, or run git pull and rebuild if you work from source. If you are unsure which one applies, run dsh --version first and match it against the table.

How do I write the dsh plugin update command for all plugins versus a single one?

The DSH plugin update command is dsh plugin --profile <name> update: without a package name it updates every dependency in that profile, and with a package name it updates only that plugin. The command forwards its arguments to pnpm inside the profile directory, so the subcommand syntax matches pnpm.

Is updating a DSH plugin from the market the same as updating it from the command line?

Both routes change the same dependency manifest inside DeepSeek Harness, so the result is identical. The plugin market suits seeing that a new version exists and then confirming an in-place upgrade, while the command line suits upgrading a known package or a whole batch. Pick one; they neither duplicate work nor conflict.

How do I verify a DeepSeek Harness update actually succeeded?

Verifying a DeepSeek Harness update takes three checks: dsh --version shows a newer version, the Web UI opens after a restart, and your DSH plugins still load with nothing abnormal in the installed list. The version number alone is not enough, because a correct version with failing plugin loads still needs a rollback or a plugin reinstall.

Where do I look when a DeepSeek Harness update command hangs or fails partway through?

When a DeepSeek Harness update hangs, work through deciding whether it is really stuck, interrupting safely, clearing caches, speeding up the network, and retrying. When it fails outright, identify whether the error belongs to permissions, a mirror, or the build step. Dedicated troubleshooting articles cover both cases; this one only covers how to write the commands.

Related Terms

npx re-run is the update
npx re-run is the update means the DeepSeek Harness no-install path has no separate upgrade command: every execution of npx @deepseek-ai/dsh web resolves the published version available at that moment. A local npx cache hit reuses the previously downloaded version, so you may need to force-refresh the cache to be sure you get the newest one.DeepSeek Harness README (official repository)
npm update -g
npm update -g is the npm form that upgrades a package to its latest version, used here to update a globally installed @deepseek-ai/dsh. It only touches the global package directory, not your user data directory, so updating DeepSeek Harness leaves sessions and plugin configuration untouched.DeepSeek Harness README (official repository)
dsh plugin --profile <name> update
dsh plugin --profile <name> update is the DeepSeek Harness command form for updating DSH plugins: it forwards its arguments to pnpm inside the chosen profile directory. Without a package name it updates all dependencies of that profile; with one it updates only that plugin.dsh CLI README
source rebuild
A source rebuild is the pnpm install and pnpm run build that follow git pull. The first restores dependencies and the second prepares repository artifacts, because pnpm dsh web only consumes already-built artifacts and never rebuilds on its own.DeepSeek Harness README (official repository)

Sources