Commando’s om Phoenix Code zonder vragen te installeren, weer te verwijderen en te detecteren in uitroltools. Een commando staat er alleen als het vaststaat: uit het manifest of als gedocumenteerde standaard van de installertechniek.
Gerelateerde handleiding: Stille installatie-parameters: MSI, NSIS, Inno Setup · Programma verwijderen via register of PowerShell
Met 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 --silentPer installer
64-bits · EXE (NSIS) · Huidige gebruiker
Stille installatie
Phoenix.Code_5.5.11_x64-setup.exe /SAndere map
Phoenix.Code_5.5.11_x64-setup.exe /S /D=C:\Apps\phoenix-code- Registersleutel voor verwijderen
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Phoenix Code
PowerShell: downloaden, controleren, installeren
Downloadt het officiële bestand, controleert de SHA256-hash en installeert stil.
install-phoenix-code.ps1
$url = 'https://github.com/phcode-dev/phoenix-desktop/releases/download/prod-app-v5.5.11/Phoenix.Code_5.5.11_x64-setup.exe'
$sha256 = 'EF7F0542E682C808C748074DF38331B0ED9C7105E42164B29961AD92B7A0FD88'
$file = Join-Path $env:TEMP 'Phoenix.Code_5.5.11_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