DeepSeekDSH
Independent community guide

Install DeepSeek Harness on Linux

Install a compatible Node.js release, start the DSH Web UI, configure a model and verify an empty test folder.

Independent editorial review: DeepSeekDSHSource checked: 0.1.5-rc.2 · 2026-09-11
On this page
Short answer for Linux

Install a supported Node.js release, run the DSH Web UI locally, configure a model and select an empty test folder.

Before you start: This guide targets a local Linux machine running Bash or Zsh; the browser and DSH should be on the same machine for the first setup. Have internet access and an API key for your model provider ready.

Success criteria: DSH opens, the model picker shows an available model, and one read-only task reports the expected dsh-test workspace without an error.

Installing DSH does not include model API credits.

STEP 1

Install a compatible Node.js release

Use your existing Node.js installation if it is compatible; otherwise install a supported release with nvm or your distribution's preferred Node.js method.

For a fresh installation, use the official Node.js downloads page or your distribution's supported package source.

Check the version before installing anything else:

node --version
npm --version

Upstream currently declares ^22.19.0 || >=24.0.0. This guide recommends ^22.19.0 || >=24.2.0 because released DSH packages have a known silent-exit regression when used with Node 24.0/24.1.

Success check

Both commands print versions and Node is inside the recommended range.

STEP 2

Start the DSH Web UI

Open your normal shell as a regular user. On many desktop distributions, Ctrl + Alt + T opens a terminal.

npx @deepseek-ai/dsh web

Keep this terminal running. Open the local address printed by DSH; the default is http://127.0.0.1:3080.

Success check

The DSH Web UI opens in your browser without a startup error in the terminal.

STEP 3

Configure a model provider

If you use the official DeepSeek API, create a key at DeepSeek API Keys. In DSH, open Settings → Models → DeepSeek, paste the key and save it.

DeepSeek Harness model settings showing the DeepSeek provider
Official DeepSeek Harness model settings screenshot from the pinned source snapshot.
Success check

The model picker lets you select a model from the configured provider.

STEP 4

Choose an empty test folder

Create a folder named dsh-test, then choose it with Choose workspace. Do not start with a production repository or a folder that contains secrets.

mkdir -p ~/dsh-test
Success check

The selected workspace is ~/dsh-test or the equivalent dsh-test folder you created.

STEP 5

Verify the setup with one read-only task

Send this prompt:

Use tools to report the full path of the current workspace and list the files in it. Do not create, edit or delete any files.
The setup is working when

① the model replies; ② the reported workspace is your dsh-test folder; ③ the file list matches what is on disk; ④ no error is shown.

If something fails, find the matching symptom

nvm, node or npm is not found

Open a new shell or reload your shell profile. If the commands still fail, return to the Node.js installation step.

npm reports an unsupported Node engine

Run node --version. Upstream declares ^22.19.0 || >=24.0.0; this guide recommends ^22.19.0 || >=24.2.0 because released DSH packages have a known silent-exit regression when used with Node 24.0/24.1.

npx looks stuck on first launch

The first run may be downloading the package. If npm asks to install @deepseek-ai/dsh, confirm the package name before accepting.

EADDRINUSE on port 3080

Run lsof -nP -iTCP:3080 -sTCP:LISTEN, stop the stale process, or launch DSH with --port 13080.

127.0.0.1:3080 does not open

Confirm the DSH process is still running. This guide assumes the browser and DSH run on the same machine; a remote server needs a separate access plan.

MISSING_CREDENTIAL

Open Settings → Models and save the provider credential again.

Permission denied in the workspace

Use a test folder owned by your normal user instead of a system directory.

Other installation paths

Optional: use DSH from a chat platform

Do this only after the local setup works. Pick one platform you already use; you do not need to configure all of them.

Sources and compatibility

Official Desktop documentation · Desktop downloads. The CLI supports Node ^22.19.0 || >=24.0.0; use ^22.19.0 || >=24.2.0 to avoid the reported Node 24.0/24.1 silent-exit issue.