Commands for installing Ternix 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 Ternix.Ternix -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Ternix.Ternix -e --silentwinget uninstall --id Ternix.Ternix -e --silentBy installer
64-bit · EXE (NSIS) · en-US
Silent install
Ternix.Setup.1.0.0.exe /SCustom folder
Ternix.Setup.1.0.0.exe /S /D=C:\Apps\ternixPowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-ternix.ps1
$url = 'https://github.com/PraneethReddy-github/ternix/releases/download/v1.0.0/Ternix.Setup.1.0.0.exe'
$sha256 = '458685AF156A5209E0A3F23068F5262C0237E848B4C28D54890E28D5DC920514'
$file = Join-Path $env:TEMP 'Ternix.Setup.1.0.0.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