Commands for installing Deva 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 sqfcyily.Deva -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id sqfcyily.Deva -e --silentwinget uninstall --id sqfcyily.Deva -e --silentBy installer
64-bit · EXE (NSIS) · Current user
Silent install
Deva-0.1.11-setup.exe /SCustom folder
Deva-0.1.11-setup.exe /S /D=C:\Apps\deva- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\e5d4b7d3-b8fd-5542-836f-43c630039bda
- Install folder
- %LocalAppData%\Programs\Deva
64-bit · EXE (NSIS) · All users
Silent install
Deva-0.1.11-setup.exe /SCustom folder
Deva-0.1.11-setup.exe /S /D=C:\Apps\deva- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\e5d4b7d3-b8fd-5542-836f-43c630039bda
- Install folder
- %ProgramFiles%\Deva
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-deva.ps1
$url = 'https://github.com/sqfcyily/deva/releases/download/v0.1.11/Deva-0.1.11-setup.exe'
$sha256 = 'F4F74220ADF02C5125629EF588BC5FD26C275FD081BA286ADC2DCA4DE7BF691C'
$file = Join-Path $env:TEMP 'Deva-0.1.11-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-deva.ps1
$url = 'https://github.com/sqfcyily/deva/releases/download/v0.1.11/Deva-0.1.11-setup.exe'
$sha256 = 'F4F74220ADF02C5125629EF588BC5FD26C275FD081BA286ADC2DCA4DE7BF691C'
$file = Join-Path $env:TEMP 'Deva-0.1.11-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