Popular: Data updated October 27, 2026

Categories

Internet1,356
Communication321
Audio & video898
Graphics & design539
Office & productivity1,124
Developer tools3,134
AI tools529
Security & privacy385
System tools3,114
Games523
Education & science239
Network & IT284

CLI silent install & uninstall

Dapr's official command-line tool

Commands for installing CLI 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 Dapr.CLI.Preview -e --silent --accept-package-agreements --accept-source-agreements
winget upgrade --id Dapr.CLI.Preview -e --silent
winget uninstall --id Dapr.CLI.Preview -e --silent

By installer

64-bit · MSI · en-US

Silent installmsiexec /i dapr.msi /qn /norestart
Write a logmsiexec /i dapr.msi /qn /norestart /l*v "%TEMP%\cli-dapr-install.log"
Uninstallmsiexec /x {B071464C-A8D2-4032-830A-658856A88C53} /qn /norestart
MSI product code
{B071464C-A8D2-4032-830A-658856A88C53}
Uninstall registry key
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B071464C-A8D2-4032-830A-658856A88C53}

PowerShell: download, verify, install

Downloads the official file, checks its SHA256 and installs it silently.

install-cli-dapr.ps1
$url = 'https://github.com/dapr/cli/releases/download/v1.19.0-rc.1/dapr.msi'
$sha256 = '3D6738F89C071327B6342FDEDFC9ACC6C92708AC913A4F2EBDFD34A17A4815B4'
$file = Join-Path $env:TEMP 'dapr.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait

More from Dapr

See all
  • Dapr CLIDapr's official command-line tool

Share