Commands for installing DkML Native without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With winget
PowerShell
winget install --id Diskuv.OCaml -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Diskuv.OCaml -e --silentwinget uninstall --id Diskuv.OCaml -e --silentBy installer
64-bit · EXE
Silent install
setup64nu.exe --ci --quiet --color=neverPowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-dkml-native.ps1
$url = 'https://gitlab.com/dkml/distributions/dkml/-/releases/2.1.6/downloads/setup64nu.exe'
$sha256 = '00A43D598CB287CDFB677D17F35838A5368D0F3A49345D05462443203BBA7BAF'
$file = Join-Path $env:TEMP 'setup64nu.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '--ci --quiet --color=never' -Wait