Commands for installing CodexHost 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 BytePioneer-AI.CodexHost -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id BytePioneer-AI.CodexHost -e --silentwinget uninstall --id BytePioneer-AI.CodexHost -e --silentBy installer
64-bit · EXE (Inno Setup) · Current user
Silent install
codexhost-0.14.0-windows-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
codexhost-0.14.0-windows-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\codexhost"- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8A7B4E80-A650-4D47-9D05-8D4D7F13E67E}_is1
- Install folder
- %LocalAppData%\Programs\codexhost
ARM64 · EXE (Inno Setup) · Current user
Silent install
codexhost-0.14.0-windows-arm64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
codexhost-0.14.0-windows-arm64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\codexhost"- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8A7B4E80-A650-4D47-9D05-8D4D7F13E67E}_is1
- Install folder
- %LocalAppData%\Programs\codexhost
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
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