Commands for installing EnsoCode 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 J3n5en.EnsoCode -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id J3n5en.EnsoCode -e --silentwinget uninstall --id J3n5en.EnsoCode -e --silentBy installer
64-bit · EXE (NSIS) · Current user
Silent install
EnsoCode-Setup-0.3.11.exe /SCustom folder
EnsoCode-Setup-0.3.11.exe /S /D=C:\Apps\ensocode- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\6c6eaad5-4cd3-5ae6-9e2a-855d476d1745
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-ensocode.ps1
$url = 'https://github.com/J3n5en/EnsoCode/releases/download/v0.3.11/EnsoCode-Setup-0.3.11.exe'
$sha256 = '9B41BBE9628F1B63ED4B97D2E39B12056DECC59BE74F27079164BDD52628514C'
$file = Join-Path $env:TEMP 'EnsoCode-Setup-0.3.11.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