Ordres per instal·lar CodexHost sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.
Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell
Amb winget
PowerShell
winget install --id BytePioneer-AI.CodexHost -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id BytePioneer-AI.CodexHost -e --silentwinget uninstall --id BytePioneer-AI.CodexHost -e --silentPer instal·lador
64 bits · EXE (Inno Setup) · Usuari actual
Instal·lació silenciosa
codexhost-0.14.0-windows-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
codexhost-0.14.0-windows-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\codexhost"- Clau de desinstal·lació al registre
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8A7B4E80-A650-4D47-9D05-8D4D7F13E67E}_is1
- Carpeta d’instal·lació
- %LocalAppData%\Programs\codexhost
ARM64 · EXE (Inno Setup) · Usuari actual
Instal·lació silenciosa
codexhost-0.14.0-windows-arm64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
codexhost-0.14.0-windows-arm64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\codexhost"- Clau de desinstal·lació al registre
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8A7B4E80-A650-4D47-9D05-8D4D7F13E67E}_is1
- Carpeta d’instal·lació
- %LocalAppData%\Programs\codexhost
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-codexhost.ps1
$url = 'https://github.com/BytePioneer-AI/codex-host/releases/download/v0.14.0/codexhost-0.14.0-windows-x64.exe'
$sha256 = '4F33CD0EDA106FA7E1E5B3C67DCDFB1B7DF880B30C10A8644FF2DF23D39F6CD7'
$file = Join-Path $env:TEMP 'codexhost-0.14.0-windows-x64.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-codexhost.ps1
$url = 'https://github.com/BytePioneer-AI/codex-host/releases/download/v0.14.0/codexhost-0.14.0-windows-arm64.exe'
$sha256 = '14848C66406D694AD2F6C466000AFC12F45C5B7454E89C337B36AC46D4EFBEF4'
$file = Join-Path $env:TEMP 'codexhost-0.14.0-windows-arm64.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait