Skip to content
MyDSHMy DSH Field Notes
中文
Independently maintained; not affiliated with DeepSeek. No association with mydsh.dev or other MyDSH sites.

Home/Getting started/Install & launch

The node version gate: 0.2.2 requires >=24.9.0, and this is the usual install failure

dsh will not start after npm install, or EBADENGINE warnings scroll past. Check this first — faster than chasing network, proxy, or permissions.

VerifiedVersion and environmentChecked 2026-11-14
Data source
engines field per version on registry.npmjs.org
Checked
2026-11-14

Copyable command

npm ls -g @deepseek-ai/dsh --depth=0

Reading the engines field across all 44 published versions, the dividing line is obvious:

Versionengines.nodePublishedNote
0.1.2-alpha.5(none)2026-09-02The generation source checkouts use; asks for ^22.19.0 || >=24.0.0 in practice
0.2.1-rc.3 / rc.4 / rc.5(none)2026-10-23 to 10-29No engines at all; node 22 installs fine
0.2.2-alpha.2 onwards>=24.9.0from 2026-10-27The gate jumps and stays
0.2.2-rc.1 (latest)>=24.9.02026-11-04What a bare npm i gives you
0.2.2-rc.3 (next)>=24.9.02026-11-13The next channel

So on node 22, installing @deepseek-ai/dsh (default latest) gives 0.2.2-rc.1 and breaks the gate. Pinning @0.2.1-rc.5 avoids it.

EBADENGINE is a warning, not a hard failure — npm may finish happily and then crash at runtime on a node-24-only API. Do not ignore it.

Three ways out

  1. Upgrade node to 24.9.0 or newer. The sanctioned path.
  2. Pin an older version: npm i -g @deepseek-ai/[email protected]. You lose 0.2.2 changes.
  3. Use a version manager: fnm or nvm, a 24.x environment just for dsh, leaving the system node alone. Easiest when several projects coexist.

Check what you have and what you installed:

node -v
dsh --version
npm ls -g @deepseek-ai/dsh --depth=0

If dsh --version says command not found, check whether the global bin directory is on PATH — it sits beside node_modules, not inside it.

What counts as working

Check every line. All of them pass or the job is not done.

  • node -v prints 24.9.0 or newer
  • No EBADENGINE warning during install
  • dsh --version matches the version you meant to install
  • Startup reaches the point where the URL is printed

Where it fails

Symptom, cause, what to do — written in the order it actually happens.

SymptomCauseWhat to do
npm i succeeds but dsh crashes at startupengines is only a warning; runtime hits a node-24 APICheck the version table: upgrade node, or pin 0.2.1-rc.5
dsh: command not foundThe global bin directory is not on PATHGet it from npm root -g (the bin directory sits beside node_modules), add to PATH, reopen the terminal
Other projects on this machine need node 22A global node upgrade affects them allUse fnm or nvm to create a dedicated 24.x shell just for dsh

Sources

Verified means measured here. Compiled means every line carries a source.