Commands for installing Clapper 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
winget install --id Rafostar.Clapper -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Rafostar.Clapper -e --silentwinget uninstall --id Rafostar.Clapper -e --silentBy installer
64-bit · ZIP
clapper-win-x86_64.zip /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
$url = 'https://github.com/Rafostar/clapper/releases/download/0.8.0/clapper-win-x86_64.zip'
$sha256 = 'F219ECB5F37D08D928DDE9D6FDE2EC3DB8094B1D99A61C1A2E573B4FA822B028'
$file = Join-Path $env:TEMP 'clapper-win-x86_64.zip'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait