Commands for installing kiro-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
By installer
64-bit · MSI
Silent install
msiexec /i kiro-cli-x86_64-pc-windows-msvc.msi /qn /norestartWrite a log
msiexec /i kiro-cli-x86_64-pc-windows-msvc.msi /qn /norestart /l*v "%TEMP%\kiro-cli-install.log"PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-kiro-cli.ps1
$url = 'https://prod.download.cli.kiro.dev/stable/2.33.1/kiro-cli-x86_64-pc-windows-msvc.msi'
$sha256 = 'F1C7E60333A676BA28CDCFC237C712F145E3818F3A21434ED860DB38B190DEDD'
$file = Join-Path $env:TEMP 'kiro-cli-x86_64-pc-windows-msvc.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