Commands for installing Worktree Manager 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 guoyongchang.WorktreeManager -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id guoyongchang.WorktreeManager -e --silentwinget uninstall --id guoyongchang.WorktreeManager -e --silentBy installer
64-bit · EXE (NSIS) · All users
Silent install
Worktree-Manager-v0.20261012.110304-Windows-setup.exe /SCustom folder
Worktree-Manager-v0.20261012.110304-Windows-setup.exe /S /D=C:\Apps\worktree-manager- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Worktree Manager
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-worktree-manager.ps1
$url = 'https://github.com/guoyongchang/worktree-manager/releases/download/v0.20261012.110304/Worktree-Manager-v0.20261012.110304-Windows-setup.exe'
$sha256 = '157D0CC0999646260551DB26C5EF4BEFCC60769BC63D8FCD7CB8284AE563EA7D'
$file = Join-Path $env:TEMP 'Worktree-Manager-v0.20261012.110304-Windows-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