Commands for installing Prune 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 jimman0I.Prune -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id jimman0I.Prune -e --silentwinget uninstall --id jimman0I.Prune -e --silentBy installer
64-bit · EXE (NSIS) · Current user
Silent install
Prune-Setup-3.2.0.exe /SCustom folder
Prune-Setup-3.2.0.exe /S /D=C:\Apps\prune- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\c6a3cadb-9de7-57fd-8951-67fce3a1d3a6
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-prune.ps1
$url = 'https://github.com/jimman0I/prune/releases/download/v3.2.0/Prune-Setup-3.2.0.exe'
$sha256 = 'ACF60CCFEA64438EC27787D74CCE52E064B74F49E51F8E57E8A84FA4A4999D0E'
$file = Join-Path $env:TEMP 'Prune-Setup-3.2.0.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 '/S' -Wait