Commands for installing DeltaForge 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 DeltaForge.CLI -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id DeltaForge.CLI -e --silentwinget uninstall --id DeltaForge.CLI -e --silentBy installer
64-bit · MSI
Silent install
msiexec /i deltaforge-cli-1.2.0-windows-x64.msi /qn /norestartWrite a log
msiexec /i deltaforge-cli-1.2.0-windows-x64.msi /qn /norestart /l*v "%TEMP%\deltaforge-cli-install.log"PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-deltaforge-cli.ps1
$url = 'https://github.com/deltaforge-org/delta-forge/releases/download/v1.2.0/deltaforge-cli-1.2.0-windows-x64.msi'
$sha256 = '5D83000D84FA5F0768C88453ED3D046FDDFF48E08BBB6437C6DDB20C516178A2'
$file = Join-Path $env:TEMP 'deltaforge-cli-1.2.0-windows-x64.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