Commands for installing Agent Git 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 Xidicone.AgentGit -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Xidicone.AgentGit -e --silentwinget uninstall --id Xidicone.AgentGit -e --silentBy installer
64-bit · EXE (Inno Setup) · All users · en-US
Silent install
agit64-v188.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
agit64-v188.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\agent-git"32-bit · EXE (Inno Setup) · All users · en-US
Silent install
agit32-v188.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
agit32-v188.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\agent-git"PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-agent-git.ps1
$url = 'https://www.zeusedit.com/winget/agit64-v188.exe'
$sha256 = '3EFDC36BA233E009F2C44EBA7A063B03F83E9548C5A8AA45925B8E0A9A12BC9A'
$file = Join-Path $env:TEMP 'agit64-v188.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-agent-git.ps1
$url = 'https://www.zeusedit.com/winget/agit32-v188.exe'
$sha256 = 'BE246E7786AB0D17B83177878C6F4CB07164FE885D4D59877B58BC0D77DA0F2C'
$file = Join-Path $env:TEMP 'agit32-v188.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait