Commands for installing Brew Guide 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 chuthree.BrewGuide -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id chuthree.BrewGuide -e --silentwinget uninstall --id chuthree.BrewGuide -e --silentBy installer
64-bit · EXE (NSIS) · Current user · en-US
Silent install
BrewGuide_1.7.4_windows_x64.exe /SCustom folder
BrewGuide_1.7.4_windows_x64.exe /S /D=C:\Apps\brew-guide- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Brew Guide
- Install folder
- %LocalAppData%\Brew Guide
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-brew-guide.ps1
$url = 'https://github.com/chuthree/brew-guide/releases/download/v1.7.4/BrewGuide_1.7.4_windows_x64.exe'
$sha256 = '05DCB1E90D71ABF8A0A1C657CFC173356665EF9284C61B44375AF79482AA79AE'
$file = Join-Path $env:TEMP 'BrewGuide_1.7.4_windows_x64.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