|
if i want to upgrade dsh, should i pull latest code? should i refresh local env? just like :"pnpm install", "pnpm build"? |
Replies: 4 comments 4 replies
|
I just delete old files and clone new ones, then build everything again according to the readme. |
|
you can use this new released tool. DSH-Launcher it's just a tool to launch the official harness from DeepSeek not a new harness. it's currently only working on windows |
npm i -g @deepseek-ai/dsh@latest |
|
You can try dshvm, a multi-version manager that supports multiple versions coexisting side by side. When upgrading, it uses an independent session directory for the new version, so your existing sessions remain untouched. If any issues arise, your original session data and the normal operation of your dsh system will not be affected. Upgrade scenario: 1 · Safely try the latest version without affecting your current environment (isolated copy upgrade) npm install -g @dsh-so/dshvm
dshvm setup # adopts your existing global dsh and installs the shims
dshvm isolate 0.1.3-alpha.1 --copy # copies your current ~/.dsh, then makes it independent
dshvm use 0.1.3-alpha.1 # activates this independent copy
dshvm --version # you'll see it's now switched to the new version
dsh web # starts the new version
- Recovery steps if issues occur:
dshvm use 0.1.2-rc.1 # switch back to the original version
dshvm --version # you'll see it's now back to the old version
dsh web # starts the original versionYour sessions, plugins, and settings work exactly as before — the new version tinkers with its own data, so an upgrade will never pollute the environment you're actively using. =============================================================== dshvm 0.1.0 — An nvm-style multi-version manager for the DeepSeek Harness CLI (dsh)What It Doesdshvm is an unofficial, zero-runtime-dependency multi-version manager for the DeepSeek Harness CLI (
Installnpm install -g @dsh-so/dshvm
dshvm setup # adopts your existing global dsh + installs the shimsFirst five commands: dshvm install 0.1.2-rc.1 # from npm
dshvm install 0.1.3-alpha.1 # not on npm → auto GitHub source build
dshvm use 0.1.3-alpha.1 # switch (prefix match works)
dshvm list # * = active
dsh --version # runs the active versionCommon Scenarios1 · Safely try the new release without touching your setup (isolated copy upgrade) dshvm isolate 0.1.3-alpha.1 --copy # copies your current ~/.dsh, then goes independent
dshvm use 0.1.3-alpha.1 # activate the isolated copyYour sessions, plugins and settings keep working exactly as before — the new version experiments on its own data, so an upgrade can never pollute what you are using. Recovery steps if something goes wrong: dshvm use 0.1.2-rc.1 # switch back to the original version
dshvm --version # confirms you're back on the old version
dsh web # start the original version2 · Everyday multi-version management dshvm install 0.1.2-rc.1 # install normally
dshvm use 0.1.2-rc.1 # switch; shares the default ~/.dsh like every other version3 · Fully isolated test environment dshvm isolate 0.1.3-alpha.1 # brand-new, empty $DSH_HOME — nothing copied, nothing affected
dshvm use 0.1.3-alpha.1Test plugins / profiles / sessions in a clean room; nothing leaks back to the shared home. 4 · Roll back, un-isolate or clean up dshvm use 0.1.2-rc.1 # back to the shared home and an older version
dshvm unisolate 0.1.3-alpha.1 # drop that version's isolated copy
dshvm remove 0.1.2-rc.1 # delete a slot (incl. its isolated data) when you're doneGood to know — Extras
P.S. dshvm is an independent community project — not affiliated with DeepSeek. It is MIT-licensed, published to npm, and just reached its first official release (0.1.0) after moving under the dsh-so org. Issues, feature requests and PRs are very welcome — the "upgrade anxiety" it removes is real, and so is the need for feedback. Author: zhoushimin (dshvm contributors) · License: MIT · Repo: https://github.com/dsh-so/dshvm · npm:
|
this one only installs the rc releases. if you want to try some alpha and also there's an option to go back without losing the data and workspaces you can give this tool a try
DSH-Launcher
also if you think performance needs enhance you can share it or you can do it yourself