Commands for installing HTTP Toolkit 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 HTTPToolKit.HTTPToolKit -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id HTTPToolKit.HTTPToolKit -e --silentwinget uninstall --id HTTPToolKit.HTTPToolKit -e --silentBy installer
64-bit · EXE (NSIS) · Current user · en-US
Silent install
HttpToolkit-1.27.3.exe /SCustom folder
HttpToolkit-1.27.3.exe /S /D=C:\Apps\http-toolkitPowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-http-toolkit.ps1
$url = 'https://github.com/httptoolkit/httptoolkit-desktop/releases/download/v1.27.3/HttpToolkit-1.27.3.exe'
$sha256 = '96E3648BDABDC3F39E2993B63B7ACE5DC9AA7BCF89980430499761C974F67656'
$file = Join-Path $env:TEMP 'HttpToolkit-1.27.3.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