UndoHaven · Pricing · Docs · Plugins · Log gate · Encryption · What we see · Log in · Account · 中文

Upgrade dsh without getting stuck

undohaven snapshot. A newer dsh build can stamp storage so the older build refuses to start. Take a snapshot before you upgrade. The 0.2.2-rc.1 launcher has no upgrade subcommand; update the package with the same tool that installed it.

Steps

  1. Quit dsh and run undohaven snapshot. If dsh-undohaven is installed, it also pins a pre-upgrade snapshot when the dsh base package version changes.
  2. Upgrade dsh with npm or pnpm, whichever you used to install it. Do not look for a dsh upgrade flag; the launcher does not have one.
  3. If the new build will not start, undohaven restore --to PRE_UPGRADE_SNAPSHOT_ID can put the previous home back, then install the older package again.

Without UndoHaven

The plugin manager is dsh plugin --profile <name>, which forwards the rest of the arguments to pnpm. Documented examples are add, remove, and why.

Related