Commands for installing HubDev 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 HubDev.HubDev -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id HubDev.HubDev -e --silentwinget uninstall --id HubDev.HubDev -e --silentBy installer
64-bit · EXE (NSIS)
Silent install
HubDev_1.32.0_Setup.exe /SCustom folder
HubDev_1.32.0_Setup.exe /S /D=C:\Apps\hubdevPowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-hubdev.ps1
$url = 'https://apt.hubdev.io/v1.32.0/HubDev_1.32.0_Setup.exe'
$sha256 = '83A81246FCAE24F14D80ECA28CAAEC21EB651B8C32B4B5A0BCC8B5F2B65D1EEA'
$file = Join-Path $env:TEMP 'HubDev_1.32.0_Setup.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