Commands for installing Gitmun 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 cst8t.gitmun -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id cst8t.gitmun -e --silentwinget uninstall --id cst8t.gitmun -e --silentBy installer
64-bit · EXE (NSIS) · Current user
Silent install
Gitmun_0.13.0_x64-setup.exe /SCustom folder
Gitmun_0.13.0_x64-setup.exe /S /D=C:\Apps\gitmun- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Gitmun
- Install folder
- %LocalAppData%\Gitmun
- DisplayVersion
- 0.13.0
64-bit · MSI · All users
Silent install
msiexec /i Gitmun_0.13.0_x64.msi /qn /norestartWrite a log
msiexec /i Gitmun_0.13.0_x64.msi /qn /norestart /l*v "%TEMP%\gitmun-install.log"Uninstall
msiexec /x {0656FB63-AACB-439B-BC83-C8F03C8E59E3} /qn /norestart- MSI product code
- {0656FB63-AACB-439B-BC83-C8F03C8E59E3}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{0656FB63-AACB-439B-BC83-C8F03C8E59E3}
- UpgradeCode
- {CFD38D6F-06D8-500B-8162-2815A511EBAF}
- Install folder
- %ProgramFiles%/Gitmun
- DisplayVersion
- 0.13.0
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-gitmun.ps1
$url = 'https://github.com/cst8t/gitmun/releases/download/v0.13.0/Gitmun_0.13.0_x64-setup.exe'
$sha256 = '65A379303CC1262FF4E4FE921C74B0E58A8964C51F13EA004590201E6B779253'
$file = Join-Path $env:TEMP 'Gitmun_0.13.0_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 install-gitmun.ps1
$url = 'https://github.com/cst8t/gitmun/releases/download/v0.13.0/Gitmun_0.13.0_x64.msi'
$sha256 = 'C2434F4766DD7EF58E8EAFC16F38EF2276E936F882CE06FE4C057D4496F6829E'
$file = Join-Path $env:TEMP 'Gitmun_0.13.0_x64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait