---
title: "DeepSeek Harness Desktop & Linux Install Guide (dsh web + Custom APIs)"
description: "How to install and configure DeepSeek Harness (dsh) on macOS, Windows, and Linux: official desktop installers, npx @deepseek-ai/dsh web, headless SSH forwarding, community .deb / AppImage builds, and ~/.dsh/settings.yaml for OpenAI, Anthropic, and CodingPass."
url: https://codingpass.ai/blog/deepseek-harness-desktop-install-linux-guide
language: en
updated: 2026-11-26
---
# DeepSeek Harness Desktop & Linux Install Guide

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.

[CodingPass team](https://codingpass.ai/about) Published Nov 26, 2026 Updated Nov 26, 2026 7 min read

DeepSeek Harness (`dsh`) is DeepSeek's open-source coding agent runtime, published under the MIT license at [deepseek-ai/deepseek-harness](https://github.com/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.

## Comparing DeepSeek Harness installation modes

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](https://codingpass.ai/tools/opencode) or [Claude Code](https://codingpass.ai/tools/claude-code) and want a visual timeline for session logs and subagent calls, `dsh web` is the quickest way to try DeepSeek Harness.

## Installing on macOS and Windows (official desktop app)

DeepSeek distributes prebuilt desktop installers on the [DeepSeek Harness download page](https://www.deepseek.com/harness). Each package bundles the runtime, core, and default plugins so you do not need to configure Node.js or pnpm:

- **macOS (Apple Silicon)**: download the `.dmg` image and drag the app into `Applications`
- **Windows (64-bit)**: download the `.exe` installer for Windows 10 or newer on x64 and run through the wizard

On Intel Macs, or if you prefer managing dev tools from the terminal, skip the desktop bundle and use the `npx` workflow below.

## Installing on Linux: CLI, headless SSH, and desktop packages

### Option 1: Official CLI and Web UI via `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 -v
npx @deepseek-ai/dsh web
```

This 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 window
npx @deepseek-ai/dsh web --host 127.0.0.1 --no-open
```

If 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.git
cd deepseek-harness
pnpm install
pnpm run build
pnpm dsh web
```

### Option 2: Headless Linux servers over SSH

On 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 3080
```

From your local workstation, forward port `3080` over SSH:

```
ssh -N -L 3080:127.0.0.1:3080 user@your-linux-server
```

Open `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.

### Option 3: Community Linux desktop wrappers (`.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_*.deb
```

On any other distro with AppImage:

```
chmod +x DeepSeekHarness_*.AppImage
./DeepSeekHarness_*.AppImage
```

To 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-config
```

Because 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`.

## How Cordis layers and `$DSH_HOME` work

DeepSeek 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:

- **Bundles**: pre-assembled plugin and config sets such as `dsh-base` and `dsh-web-app`
- **Profiles**: named compositions under `$DSH_HOME/profiles/<name>`, including the `web` profile
- **Patches**: `cordis.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 comments
npx @deepseek-ai/dsh web --dump-config

# Print only the built-in default bundle config
npx @deepseek-ai/dsh web --dump-default-config
```

## Configuring custom OpenAI- and Anthropic-compatible APIs

Custom 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 format
- **`anthropic-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`.

### Connecting CodingPass (Claude and DeepSeek on one allowance)

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`:

~/.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-5
```

Export 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](https://codingpass.ai/pricing), [All models](https://codingpass.ai/models), and [Usage limits](https://codingpass.ai/usage-limits) for full tier breakdowns, or follow the [DeepSeek Harness setup guide](https://codingpass.ai/tools/deepseek-harness) for a full walkthrough.

### Connecting an Anthropic-compatible endpoint and splitting subagents

For a custom gateway speaking Anthropic's `/v1/messages` protocol, set `api: anthropic-messages`:

~/.dsh/settings.yaml

```
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-5
```

Once 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.

## FAQ

### Does `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.

### How do I run DeepSeek Harness on a remote Linux machine without exposing a public port?

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.

### Can I switch between Claude and DeepSeek inside the same DeepSeek Harness session?

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`.

Written by CodingPass team

We run CodingPass and test each guide against the latest stable release of the tool before we publish it. Spotted something out of date? Write to [support@codingpass.ai](mailto:support@codingpass.ai).

## Related reading.

Tools

### [DeepSeek Harness setup guide](https://codingpass.ai/tools/deepseek-harness)

Add CodingPass to ~/.dsh/settings.yaml to run Claude and DeepSeek from one monthly allowance.

Models

### [All models](https://codingpass.ai/models)

Every model ID, minimum plan tier, and monthly allowance on Go, Plus, and Pro.

Rules

### [How allowances and caps work](https://codingpass.ai/usage-limits)

Monthly allowances, 5-hour and weekly caps, and how 429 responses behave.
