Commands for installing Postman 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 Postman.Postman -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Postman.Postman -e --silentwinget uninstall --id Postman.Postman -e --silentBy installer
64-bit · EXE · Current user
Silent install
windows_64 --silent- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Postman
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-postman.ps1
$url = 'https://dl.pstmn.io/download/version/12.38.3/windows_64'
$sha256 = 'C440F736261EA97428CE6C2C42B79DC2BEB7A2D23C8D75B1BC5D90173CD24165'
$file = Join-Path $env:TEMP 'windows_64'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '--silent' -Wait