Run Dial on Windows
Dial runs natively on Windows 10 and 11, on x86-64 and arm64, with hosted models, Ollama, LM Studio and llama.cpp. WSL2 is the alternative when you want the Linux sandbox or Smart App Control blocks the native build.
Native install
Open PowerShell (Windows PowerShell 5.1 or PowerShell 7; no admin needed) and run:
irm https://github.com/KiidxAtlas/dial/releases/latest/download/install.ps1 | iexIt verifies the signed checksum manifest, installs dial.exe to $HOME\.local\bin and adds that folder to your user PATH and the current session. Then cd into a project and run dial. Nothing else is needed: no OpenSSL, no Visual C++ redistributable.
To pin a version, run the script as a block:
& ([scriptblock]::Create((irm https://github.com/KiidxAtlas/dial/releases/latest/download/install.ps1))) -Version v0.3.17Dial keeps its state in C:\Users\YourName\.dial. To put it elsewhere, set DIAL_HOME, for example [Environment]::SetEnvironmentVariable('DIAL_HOME', 'D:\Dial', 'User').
LM Studio and Ollama
On first run, choose Local model to use a model on your machine, or Hosted provider to sign in or add an API key. MLX is macOS-only; on Windows use LM Studio, Ollama or a GGUF model through llama.cpp.
In LM Studio, load a model and start its local server first. Dial looks for it at http://127.0.0.1:1234/v1; set LM_STUDIO_BASE_URL if yours is elsewhere. Started the server after Dial? Press F5 in Models to rescan. More in the local models guide.
WSL2 instead
Dial's Linux build runs in WSL2 Ubuntu 22.04 or later, with bubblewrap as its command sandbox. The install page has a WSL2 tab that does everything from one PowerShell window: install Ubuntu, turn off Windows interop for that distribution, install bubblewrap and Dial. Turning interop off stops commands in Linux from launching Windows programs, which would escape the sandbox.
The Windows sandbox
Windows has no equivalent of the macOS or Linux sandbox. With sandbox.mode = "dev", Dial runs shell commands (PowerShell, Git Bash and its built-in shell) at Low integrity: they can write the project and any extra_write folders, but can't read or write ~/.ssh, ~/.aws, ~/.kube, Dial's own state and similar folders, or change a project's .git in place. Reads elsewhere and network access are not confined. A self-test runs on first use, and if any rule fails, commands are refused rather than run unconfined. See the sandbox guide.
Troubleshooting
- Smart App Control (Windows 11) blocks programs Microsoft doesn't know yet. It has no per-app allow list and
Unblock-Filedoesn't help. Use WSL2 rather than turning it off: on some builds it can't be turned back on without resetting Windows. - SmartScreen warnings can appear even for signed new releases. Check the signature with
Get-AuthenticodeSignature (Get-Command dial).Source; it should sayValid. Don't disable Defender or SmartScreen to run Dial. - Raw codes like
←[2K, or a message about the legacy console: run Dial in Windows Terminal, or clear "Use legacy console" in the console window's properties. - Run it from a normal shell, not as Administrator. Files an elevated shell creates belong to Administrators, and Dial then refuses them with private storage target must be an owner-owned regular file. Fix it once from an Administrator PowerShell:
takeown /F "$env:USERPROFILE\.dial" /R /D Y. - Error dialogs 0xc0000142, 0xc0000135 or 0xc000007b mean a DLL failed to load. The installer leaves your existing copy alone when this happens; report the Dial version, Windows version, architecture and the code.
- Windows Terminal keeps
Alt+Enter,Ctrl+VandCtrl+,for itself, so in Dial useCtrl+Qto queue,Alt+Vto paste an image andCtrl+4for settings.
The full reference is dial's Windows documentation.