DeepSeek Harness

How to Install DeepSeek Harness on Windows, macOS and Linux

· 6 min read · 中文版

To install DeepSeek Harness, install Node.js 24.9.0 or newer, run npx @deepseek-ai/dsh web in your project directory, open the URL it prints, then add a DeepSeek API key and choose a workspace.

This guide covers how to install DeepSeek Harness (DSH) for the first time on Windows, macOS and Linux. It uses the npm package and the Web UI, which is the shortest path to a working session. A Desktop app also exists; it is covered near the end.

What do you need before you install DeepSeek Harness?

DSH is published on npm as @deepseek-ai/dsh. The package declares one command, dsh, and its engines field requires Node.js 24.9.0 or newer. That version requirement is the most common reason a first install fails, so check it before anything else:

node --version

If the output is lower than v24.9.0, or the command is not found, install or upgrade Node.js first using the section for your operating system below.

You also need a model to talk to. The quickest option is a DeepSeek API key from the DeepSeek platform. DSH can also use a third-party provider or a custom OpenAI-compatible endpoint; see the model configuration guide for those.

RequirementWhy it matters
Node.js 24.9.0 or newerRequired by the package's engines field
npx or npm on your PATHRuns or installs the dsh command
A project directoryThe directory you start dsh from becomes the default workspace root
A model credentialA DeepSeek API key or another configured provider

Install Node.js, run dsh web, open the printed URL, add a model, then choose a workspace

How do you install Node.js on Windows, macOS and Linux?

DSH itself installs the same way on every system. The differences are in how you get a recent Node.js and how your shell finds npx.

Windows

Install Node.js with the official installer from nodejs.org, or use a Node version manager for Windows if you switch versions often. Open a new PowerShell or Terminal window after installing so the updated PATH takes effect, then run node --version again.

PowerShell sometimes refuses to run npx because of the local script execution policy, which shows up as an error saying running scripts is disabled. You can call npx.cmd instead of npx, run the command from Command Prompt, or change the execution policy for your user if your organization allows it. Windows users who hit later problems can check the existing posts on a Windows profile manifest BOM and the 0xC0000142 sandbox error.

macOS

Use the official macOS installer from nodejs.org, Homebrew, or a version manager such as nvm or fnm. Version managers are convenient when other projects need an older Node.js, because you can select 24.9.0 or newer only for DSH work. After installing, open a new terminal and confirm the version.

Linux

Distribution packages often lag behind current Node.js releases, so the version from your package manager may be older than 24.9.0. A version manager or the official binaries from nodejs.org avoid that problem. Install as your normal user rather than with sudo where possible, so that npx caches and global packages stay in your home directory.

How do you start DeepSeek Harness for the first time?

  1. Open a terminal in the project directory you want the agent to work on. The invoking directory is the default workspace root.
  2. Run npx @deepseek-ai/dsh web. This boots the Web profile and prints its URL. The web profile initializes itself from a shipped template on first use, so there is nothing to create beforehand.
  3. Open the printed URL in a browser. If you prefer to keep the browser closed, see starting the Web UI without opening a browser.
  4. Open Settings → Models, paste your DeepSeek API key, and save. The key is stored in $DSH_HOME/.credentials.yaml. Keys are write-only: the page receives a redacted descriptor, never the literal secret. Model changes apply on the next request without a restart.
  5. Click Choose workspace, add the project directory where you started dsh, and select it. A fresh Web UI has no selected workspace, and the session composer stays unavailable until you pick one. The post on selecting a workspace before a session explains why.
  6. Start a session and send a small task, such as asking for a summary of the repository. The Web UI asks before operations that require approval under the active permission policy.

If you plan to use DSH every day, npm install -g @deepseek-ai/dsh puts the dsh command on your PATH, so later starts are just dsh web. npx works fine for trying it out.

Which other modes does the installed dsh command support?

The Web UI is one profile among several. The web, headless, sdk, sdk-minimal and acp profiles all auto-initialize on first use. Two are useful right after installation:

  • dsh --profile headless "run the tests" runs one fresh persisted session, prints the final answer and exits. It suits scripts and CI; see running a headless one-shot task.
  • dsh plugin --profile <name> <pnpm args> manages a profile's plugins by forwarding pnpm arguments to the profile directory.

Plugin pages on this site show install commands in this form:

npx @deepseek-ai/dsh plugin --profile web add github:owner/repo

Replace owner/repo with the repository you have reviewed. Browse candidates in Explore or the official plugins list, and read how to install plugins through the plugin market for the review steps. A registry listing means the repository's root manifest passed a structural check. It does not mean the plugin is safe, reviewed or endorsed. To connect external tools, the sister post on adding an MCP server to DeepSeek Harness is the next step. The profile guide compares the modes in more detail.

What about DeepSeek Harness Desktop?

DeepSeek Harness Desktop is a separate app for people who prefer not to manage Node.js. It uses its own reserved desktop profile and has a Plugins panel for managing that profile's plugins. The npm dsh command refuses to boot the desktop profile or manage its plugins, so the two installations keep separate profiles.

Download Desktop from the official release page linked in the project README on GitHub. Avoid third-party mirrors, because you cannot verify that their builds match the official release.

What should you check if installation fails?

SymptomFirst thing to check
npm reports an unsupported enginenode --version is below 24.9.0; upgrade Node.js
dsh or npx not foundOpen a new terminal; confirm Node's bin directory is on PATH
PowerShell blocks npxUse npx.cmd or Command Prompt
Port already in usePass a different port; see setting the Web host and port
Model requests fail but the browser worksCheck the proxy environment; see proxy and model requests
TLS certificate errors behind a company proxySee TLS errors with a corporate proxy
Startup stops with a plugin errorFind the Full diagnostics: line; see the full diagnostics log
The composer is disabledChoose a workspace first

When you report a problem, include the output of dsh --version and your Node.js version, and remove API keys or tokens from any logs you share. More common questions are answered in the FAQ.

Frequently asked questions

Which Node.js version does DeepSeek Harness need?

The @deepseek-ai/dsh package requires Node.js 24.9.0 or newer. Check with node --version before installing.

How do I start DeepSeek Harness after installing Node.js?

Run npx @deepseek-ai/dsh web in your project directory, open the printed URL, add a model in Settings > Models, and choose a workspace.

Why is the message box disabled after the Web UI opens?

A fresh Web UI has no selected workspace. Click Choose workspace, add your project directory, and select it.

Is there a desktop version of DeepSeek Harness?

Yes. DeepSeek Harness Desktop uses its own desktop profile and Plugins panel. Download it from the official release page linked in the project README.

Sources

Every claim in this article was checked against the sources below. Community discussions are user reports, not official behavior.

  1. Use the Web UI
  2. Configure models
  3. Plugin market
  4. DeepSeek Harness on GitHub

This is an independent community article, not official DeepSeek documentation. Listing a plugin in the registry is not a security review.

← Back to all articles

How to Install DeepSeek Harness on Windows, macOS and Linux