Commands for installing Kapi 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 Neokapi.Kapi -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Neokapi.Kapi -e --silentwinget uninstall --id Neokapi.Kapi -e --silentBy installer
64-bit · EXE (NSIS) · All users · en-US
Silent install
kapi-1.2.0-windows-amd64-setup.exe /SCustom folder
kapi-1.2.0-windows-amd64-setup.exe /S /D=C:\Apps\kapi- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\neokapiKapi
- Install folder
- %ProgramFiles%\Kapi
ARM64 · EXE (NSIS) · All users · en-US
Silent install
kapi-1.2.0-windows-arm64-setup.exe /SCustom folder
kapi-1.2.0-windows-arm64-setup.exe /S /D=C:\Apps\kapi- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\neokapiKapi
- Install folder
- %ProgramFiles%\Kapi
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-kapi.ps1
$url = 'https://github.com/neokapi/neokapi/releases/download/v1.2.0/kapi-1.2.0-windows-amd64-setup.exe'
$sha256 = 'BA83D7F7BAAF7DA2C44EBEAC6B7F434BD29072075D3EE57A5467791188DAE6E6'
$file = Join-Path $env:TEMP 'kapi-1.2.0-windows-amd64-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-kapi.ps1
$url = 'https://github.com/neokapi/neokapi/releases/download/v1.2.0/kapi-1.2.0-windows-arm64-setup.exe'
$sha256 = '502C064B4B8D0BAF1A29EBCE47F007A92C38A79BA2BA1EBEA7CC8458255EE94A'
$file = Join-Path $env:TEMP 'kapi-1.2.0-windows-arm64-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