Commands for installing Phoenix Code 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 Core-ai.PhoenixCode -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Core-ai.PhoenixCode -e --silentwinget uninstall --id Core-ai.PhoenixCode -e --silentBy installer
64-bit · EXE (NSIS) · Current user
Silent install
Phoenix.Code_5.2.5_x64-setup.exe /SCustom folder
Phoenix.Code_5.2.5_x64-setup.exe /S /D=C:\Apps\phoenix-code- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Phoenix Code
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-phoenix-code.ps1
$url = 'https://github.com/phcode-dev/phoenix-desktop/releases/download/prod-app-v5.2.5/Phoenix.Code_5.2.5_x64-setup.exe'
$sha256 = '52A7A782D3A3515CDA172330E84C5CB4263379DFDD2271FB852D7BD1059B66EB'
$file = Join-Path $env:TEMP 'Phoenix.Code_5.2.5_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