Commands for installing Stacks 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 stacks.stacks -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id stacks.stacks -e --silentwinget uninstall --id stacks.stacks -e --silentBy installer
32-bit · EXE (NSIS) · Current user · en-US
Silent install
Stacks-Setup-1.9.14.exe /SCustom folder
Stacks-Setup-1.9.14.exe /S /D=C:\Apps\stacks- Uninstall registry key
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\09a4f8fb-518d-5ed9-a863-3653ef6369b0
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-stacks.ps1
$url = 'https://github.com/stacks-task-manager/stacks/releases/download/v1.9.14/Stacks-Setup-1.9.14.exe'
$sha256 = '3410F5E1DC099A58F6BAF398EE4BE4A0CB7ED6D0E0DE69BF4DDB326D0973D697'
$file = Join-Path $env:TEMP 'Stacks-Setup-1.9.14.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