Commands for installing SmartGit 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 Syntevo.SmartGit -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Syntevo.SmartGit -e --silentwinget uninstall --id Syntevo.SmartGit -e --silentBy installer
32-bit · ZIP · All users · en-US
Silent install
smartgit-26_1_057-win-installer.zip /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-- Install folder
- %ProgramFiles%\SmartGit
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-smartgit.ps1
$url = 'https://download.smartgit.dev/smartgit/smartgit-26_1_057-win-installer.zip'
$sha256 = '1980EA2627CA314EEAD64FD768603C682C593CB3F03AB4905621D6D6EECBB0A0'
$file = Join-Path $env:TEMP 'smartgit-26_1_057-win-installer.zip'
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