Commands for installing Codey 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 SuperGness.Codey -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SuperGness.Codey -e --silentwinget uninstall --id SuperGness.Codey -e --silentBy installer
64-bit · EXE (NSIS) · Current user
Silent install
Codey-1.3.7-windows-x64-setup.exe /SCustom folder
Codey-1.3.7-windows-x64-setup.exe /S /D=C:\Apps\codey- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Codey
- Install folder
- %LocalAppData%\Programs\Codey
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-codey.ps1
$url = 'https://github.com/SuperGness/codey/releases/download/v1.3.7/Codey-1.3.7-windows-x64-setup.exe'
$sha256 = 'B28C521D5E09C8B655EFFC2023482F8D16A5F98AB30FA1A768F1E7CC0C454478'
$file = Join-Path $env:TEMP 'Codey-1.3.7-windows-x64-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