dsh → Scan VM
One-line setup for DeepSeek Harness pointed at our shared inference box. Windows, PowerShell.
irm https://ai.mindprobe.xyz/go | iex
What it does
- Checks Node (needs
^22.19or>=24— note 23 does not qualify) and PowerShell 7, and offers to install either withwingetif missing. - Confirms the Scan VM is reachable and actually serving the model.
- Installs
dshglobally at a pinned version. - Writes the provider route to
%USERPROFILE%\.dsh\settings.yaml.
Safe to re-run. It will not overwrite an existing llm-pi-ai
section — it writes a sidecar file for you to merge instead.
Then
cd C:\path\to\your\project dsh web
Open http://127.0.0.1:3080, click Choose workspace,
pick your project directory, then select the model in the picker.
Updating
Run the same one-liner again. It is version-aware: if you are already on the pinned version it does nothing, otherwise it updates you to it.
irm https://ai.mindprobe.xyz/go | iex
Do not run npm update -g @deepseek-ai/dsh. It drops the
--allow-scripts flag, so koffi never rebuilds and the Windows
sandbox fails closed with SANDBOX_UNAVAILABLE on every command. The version
here is pinned deliberately — dsh is a developer preview and upstream promises
compatibility-breaking changes.
Config files are left alone on a re-run. To pick up a changed model
route, use -Force (it backs up your settings.yaml first).
Options
To pass arguments through irm, wrap it in a scriptblock:
& ([scriptblock]::Create((irm https://ai.mindprobe.xyz/go))) -Reasoning xhigh
-Reasoning—off,low,medium(default),xhigh. Nothing else is valid on this server.-Yes— answer yes to every prompt. Required for unattended runs, since a non-interactive host cannot be asked.-NoInstall— never install anything; report what is missing and stop.-Reinstall— reinstall dsh even when already at the pinned version (for repairing a broken install).-ConfigOnly— rewrite settings.yaml, skip the npm install.-Force— replace an existingllm-pi-aisection (backs it up first).-Endpoint,-ModelId,-DshVersion— override the defaults.
Before you paste
irm … | iex runs whatever this server returns, with your user's
authority. That is fine because this is our domain and our script — but the
habit is worth keeping deliberate.
Read the script first if you have not seen it.
Troubleshooting
- Cannot reach the Scan VM — check you are on the office
network, then
Test-NetConnection 10.2.2.7 -Port 48765. - Node too old —
winget install OpenJS.NodeJS.LTS, then open a new terminal. dshnot found after install — open a new terminal so PATH refreshes, or usenpx @deepseek-ai/dsh web.UNSUPPORTED_REASONING_EFFORT— something addedhigh,maxorminimaltoreasoningEfforts. This server rejects all three.