OpenCode Desktop → Scan VM testing
One-line setup for the OpenCode desktop app, pointed at our shared inference box. Windows, PowerShell.
irm https://ai.mindprobe.xyz/go | iex
What it does
- Removes DeepSeek Harness if it finds it — we are no longer using it. It asks first, and asks separately before deleting session history.
- Confirms the Scan VM is reachable and actually serving the model.
- Downloads and silently installs the OpenCode desktop app (~120 MB, x64 or arm64 as appropriate).
- Writes
%USERPROFILE%\.config\opencode\opencode.jsoncso the Scan VM is the default model the moment you open the app.
No Node.js needed. The desktop app is a standalone binary — npm is only used to uninstall the old harness, and only if it is present.
Then
Launch OpenCode from the Start menu. Qwen3.8 27B FP8
should already be selected. If it is not, pick Scan VM (vLLM FP8) in the model
selector — the provider is configured either way.
Options
To pass arguments through irm, wrap it in a scriptblock:
& ([scriptblock]::Create((irm https://ai.mindprobe.xyz/go))) -Channel beta
-Channel—stable(default) orbeta, the preview desktop build.-Force— replace an existing opencode config (backs it up first).-KeepDsh— leave DeepSeek Harness installed.-ConfigOnly— write the config, skip the download.-Reinstall— reinstall the app even if already present.-Yes— answer yes to every prompt. Required for unattended runs, since a non-interactive host cannot be asked.-NoInstall— change nothing; just report what it finds.
Updating
The desktop app updates itself — there is nothing to re-run for a new version. Re-run the one-liner only to repair or re-apply the configuration.
Your config is never overwritten on a re-run. If you already have an
opencode.jsonc, the script writes
opencode.scan-provider.jsonc beside it for you to merge, or use
-Force.
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. - The model is not in the selector — an existing config was
left in place. Look for
opencode.scan-provider.jsoncnext to youropencode.jsoncand merge it, or re-run with-Force. - Download is tiny and fails — the URL returned an error page rather than the installer. The script catches this; grab it by hand from opencode.ai/download.
dshstill on PATH afterwards — remove it withnpm uninstall -g @deepseek-ai/dsh.