Commands for installing Antstream 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 AntstreamLtd.Antstream -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id AntstreamLtd.Antstream -e --silentwinget uninstall --id AntstreamLtd.Antstream -e --silentBy installer
64-bit · EXE (WiX Burn)
Silent install
antstreamInstaller-2.1.2744.exe /quiet /norestartPowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-antstream.ps1
$url = 'https://downloads.antstream.com/antstreamInstaller-2.1.2744.exe'
$sha256 = '399BBE2DAAD907F5FA57E17878C61021CAAEB88A48AA1DC2167197D53A0E6E99'
$file = Join-Path $env:TEMP 'antstreamInstaller-2.1.2744.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 '/quiet /norestart' -Wait