Commands for installing SailPoint CLI 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 SailPoint.SailPointCLI -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SailPoint.SailPointCLI -e --silentwinget uninstall --id SailPoint.SailPointCLI -e --silentBy installer
64-bit · MSI · All users
Silent install
msiexec /i sail_2.7.0_windows_amd64.msi /qn /norestartWrite a log
msiexec /i sail_2.7.0_windows_amd64.msi /qn /norestart /l*v "%TEMP%\sailpoint-cli-install.log"Uninstall
msiexec /x {63539E22-AF19-4782-B798-9EDFEA185ECE} /qn /norestart- MSI product code
- {63539E22-AF19-4782-B798-9EDFEA185ECE}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{63539E22-AF19-4782-B798-9EDFEA185ECE}
- UpgradeCode
- {FDAA8257-131C-4EBB-9FB6-E2CFF3955E58}
64-bit · ZIP
No installation needed (portable)
ARM64 · ZIP
No installation needed (portable)
32-bit · ZIP
No installation needed (portable)
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-sailpoint-cli.ps1
$url = 'https://github.com/sailpoint-oss/sailpoint-cli/releases/download/2.7.0/sail_2.7.0_windows_amd64.msi'
$sha256 = '7717A8405DDCDE1F22C12E84FE66835BAF7FEA2B760E4A68238A996205E8216C'
$file = Join-Path $env:TEMP 'sail_2.7.0_windows_amd64.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