Commands for installing Pocket Sync 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 PocketSync.PocketSync -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id PocketSync.PocketSync -e --silentwinget uninstall --id PocketSync.PocketSync -e --silentBy installer
64-bit · EXE (NSIS) · Current user · en-US
Silent install
Pocket.Sync_7.2.1_x64-setup.exe /SCustom folder
Pocket.Sync_7.2.1_x64-setup.exe /S /D=C:\Apps\pocket-sync- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Pocket Sync
- Install folder
- %LocalAppData%\Pocket Sync
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-pocket-sync.ps1
$url = 'https://github.com/neil-morrison44/pocket-sync/releases/download/v7.2.1/Pocket.Sync_7.2.1_x64-setup.exe'
$sha256 = 'CA89397D8E3DCB35725887E41E72AECE0E2DD8B5794B3858FBE75D000AA4080B'
$file = Join-Path $env:TEMP 'Pocket.Sync_7.2.1_x64-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