DeepSeek Harness setup guide
Add CodingPass to ~/.dsh/settings.yaml to run Claude and DeepSeek from one monthly allowance.
Official DeepSeek Harness desktop installers cover Apple Silicon Macs and Windows x64, while Linux, Intel Macs, and remote dev boxes run the exact same Cordis-powered interface over dsh web or community Tauri packages. Here is the complete setup across every OS, plus custom API routing in settings.yaml.
DeepSeek Harness (dsh) is DeepSeek's open-source coding agent runtime, published under the MIT license at deepseek-ai/deepseek-harness. Underneath, it runs on the Cordis plugin microkernel: model adapters, tools, session logs, and the browser interface are all modular plugins composed at startup.
Developers looking for a DeepSeek Harness desktop install on Linux often hit a quick surprise: DeepSeek's standalone desktop installers currently target macOS (Apple Silicon) and Windows x64. Under the hood, however, the desktop app wraps the exact same core and web UI as dsh web. On Linux, you can launch the official package directly with npx, run it headlessly over SSH, or use a community-maintained .deb or .AppImage desktop wrapper with zero feature loss.
Install summary: On macOS (Apple Silicon) and Windows x64, grab the official desktop installer—no Node.js setup required. On Linux, Intel Macs, and remote servers, install Node.js 24.9.0+ and run npx @deepseek-ai/dsh web to open the full UI at http://127.0.0.1:3080. For a native Linux window and tray icon, use a community Tauri .deb or .AppImage release. Every install mode shares ~/.dsh/settings.yaml for OpenAI-compatible, Anthropic-compatible, and CodingPass providers.
Pick the setup that matches your machine and workflow:
| Install mode | Supported OS | Prerequisites | Best for |
|---|---|---|---|
| Official Desktop App (.dmg / .exe) | macOS Apple Silicon, Windows 10+ x64 | None (bundled runtime and plugins) | Fast local setup without managing Node.js |
| Official CLI / Web UI (dsh web) | Linux, macOS (incl. Intel), Windows | Node.js >= 24.9.0 | Daily Linux use, latest npm builds, plugin hacking |
| Headless SSH mode (dsh web --no-open) | Linux servers, containers, WSL | Node.js >= 24.9.0, SSH | Repos living on a remote box, controlled from your laptop browser |
| Community Linux Desktop (.deb / .rpm / .AppImage) | Ubuntu, Debian, Fedora, generic Linux | WebKitGTK runtime (dev libs if building from source) | Native app window, system tray, and desktop launcher |
If you already work with terminal-first agents like OpenCode or Claude Code and want a visual timeline for session logs and subagent calls, dsh web is the quickest way to try DeepSeek Harness.
DeepSeek distributes prebuilt desktop installers on the DeepSeek Harness download page. Each package bundles the runtime, core, and default plugins so you do not need to configure Node.js or pnpm:
.dmg image and drag the app into Applications.exe installer for Windows 10 or newer on x64 and run through the wizardOn Intel Macs, or if you prefer managing dev tools from the terminal, skip the desktop bundle and use the npx workflow below.
npx (recommended)The most direct path on Linux is running the official @deepseek-ai/dsh package. Verify that Node.js is v24.9.0 or higher, then launch the web profile:
node -vnpx @deepseek-ai/dsh webThis starts the local server on http://127.0.0.1:3080 and opens your default browser. Any web-specific flags must be placed after the web subcommand so they reach the web profile rather than the outer launcher:
# Pick a custom port (or pass 0 to let the OS choose a free port)npx @deepseek-ai/dsh web --port 8080 # Bind explicitly to loopback without launching a browser windownpx @deepseek-ai/dsh web --host 127.0.0.1 --no-openIf you want to work from a local checkout or write your own Cordis plugins, build from source with pnpm:
git clone https://github.com/deepseek-ai/deepseek-harness.gitcd deepseek-harnesspnpm installpnpm run buildpnpm dsh webOn a remote Linux VM, container, or WSL instance without a desktop session, start dsh web with --no-open. The CLI restricts --host to concrete loopback addresses by default so the local agent server is not accidentally exposed on a public interface.
On the remote Linux machine:
npx @deepseek-ai/dsh web --no-open --port 3080From your local workstation, forward port 3080 over SSH:
ssh -N -L 3080:127.0.0.1:3080 user@your-linux-serverOpen http://127.0.0.1:3080 in your local browser to manage workspaces and run tools directly on the remote host. If you run dsh web behind a reverse proxy or custom hostname, pass --trusted-host <authority> so the browser-trust check accepts it.
.deb / .AppImage)If you want a standalone Linux desktop window with system tray integration, community-maintained Tauri/WebKit shells (such as Leon00x/deepseek-harness-desktop and agent-earth/deepseek-harness-desktop on GitHub Releases) publish .deb, .rpm, and .AppImage builds.
On Debian, Ubuntu, or Linux Mint:
sudo apt install ./deepseek-harness-linux_*.debOn any other distro with AppImage:
chmod +x DeepSeekHarness_*.AppImage./DeepSeekHarness_*.AppImageTo compile a Tauri wrapper from source on Ubuntu or Debian, install the WebKitGTK and tray build dependencies first:
sudo apt install -y libwebkit2gtk-4.1-dev libayatana-appindicator3-dev \ build-essential curl wget file libxdo-dev libssl-dev librsvg2-dev pkg-configBecause these wrappers sit on top of the same runtime directory, your ~/.dsh/settings.yaml and session history stay portable between the desktop shell and dsh web.
$DSH_HOME workDeepSeek Harness stores persistent settings, profiles, and session history under ~/.dsh by default. Set DSH_HOME if you want to move that state directory elsewhere.
Because everything in dsh is a Cordis plugin, configuration resolves in three cascading layers:
dsh-base and dsh-web-app$DSH_HOME/profiles/<name>, including the web profilecordis.patch.yml files that override or toggle plugin parameters without forking bundles (profile patch first, then $DSH_HOME/cordis.patch.yml)When a plugin option or route behaves unexpectedly, inspect the compiled config tree with the built-in dump flags:
# Print the final composed tree with per-line layer commentsnpx @deepseek-ai/dsh web --dump-config # Print only the built-in default bundle confignpx @deepseek-ai/dsh web --dump-default-configCustom model providers live in ~/.dsh/settings.yaml under the llm-pi-ai namespace (handled by the built-in @deepseek-ai/dsh-llm-pi-ai adapter plugin). Three wire protocols are supported via the api field:
openai-completions: standard OpenAI Chat Completions (/v1/chat/completions)openai-responses: OpenAI Responses formatanthropic-messages: Anthropic-compatible Messages endpoints (/v1/messages)Keep secrets out of settings.yaml by pointing apiKeyEnv to an environment variable. Keys entered through the Web UI under Settings → Models are saved separately in $DSH_HOME/.credentials.yaml.
CodingPass exposes all 25 models on your plan—Claude Sonnet 5.5, Opus 5.5, and DeepSeek V4.1 Flash included—through a single OpenAI-compatible endpoint at https://codingpass.ai/v1. Add this block to ~/.dsh/settings.yaml:
llm-pi-ai: providers: codingpass: displayName: CodingPass apiKeyEnv: CODINGPASS_API_KEY api: openai-completions baseURL: https://codingpass.ai/v1 models: - id: claude-sonnet-5-5 - id: deepseek-v4.1-flash agent-default-model: provider: codingpass model: claude-sonnet-5-5Export your API key in ~/.zshrc or ~/.bashrc, open a new shell, and start dsh web:
export CODINGPASS_API_KEY="cp-live-..."On the Go plan ($10/month), one fixed allowance covers roughly 2,050 Claude Sonnet 5.5 requests or 13,600 DeepSeek V4.1 Flash requests. Check Pricing, All models, and Usage limits for full tier breakdowns, or follow the DeepSeek Harness setup guide for a full walkthrough.
For a custom gateway speaking Anthropic's /v1/messages protocol, set api: anthropic-messages:
llm-pi-ai: providers: custom-anthropic: displayName: Custom Anthropic apiKeyEnv: CUSTOM_ANTHROPIC_KEY api: anthropic-messages baseURL: https://api.example.com models: - id: claude-sonnet-5-5Once multiple models are configured, you can split work inside a single session: keep Claude Sonnet 5.5 on the main agent for architecture and diff review, then open Plugins → Subagent, enable Model selection, and add deepseek-v4.1-flash so subagents handle the routine code edits at lower per-request cost.
dsh web on Linux miss any features compared to the macOS or Windows desktop app?No. Both the official desktop builds and npx @deepseek-ai/dsh web run the same Cordis plugin kernel, workspace model, session trace viewer, and settings.yaml schema. The desktop installer mainly saves you from installing Node.js and launching the process from a terminal.
Launch npx @deepseek-ai/dsh web --no-open --port 3080 on the remote host so it stays bound to 127.0.0.1, then forward it locally with ssh -N -L 3080:127.0.0.1:3080 user@host. Traffic stays inside the SSH tunnel and port 3080 never needs to be opened in your firewall.
Yes. List both models under your provider in ~/.dsh/settings.yaml (for example claude-sonnet-5-5 and deepseek-v4.1-flash via CodingPass), then switch routes live under Settings → Models without restarting, or assign a separate model to subagents under Plugins → Subagent.
Add CodingPass as a provider in ~/.dsh/settings.yaml to run Claude Sonnet 5.5 (roughly