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