Commands for installing Codex 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 jcv8000.Codex -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id jcv8000.Codex -e --silentwinget uninstall --id jcv8000.Codex -e --silentBy installer
64-bit · EXE (NSIS) · Current user · en-US
Silent install
Codex-2.0.5-Setup.exe /SCustom folder
Codex-2.0.5-Setup.exe /S /D=C:\Apps\codex- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\47836d5d-d20f-569b-932c-0b3c1a245792
64-bit · EXE (NSIS) · All users · en-US
Silent install
Codex-2.0.5-Setup.exe /SCustom folder
Codex-2.0.5-Setup.exe /S /D=C:\Apps\codex- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\47836d5d-d20f-569b-932c-0b3c1a245792
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-codex.ps1
$url = 'https://github.com/jcv8000/Codex/releases/download/v2.0.5/Codex-2.0.5-Setup.exe'
$sha256 = 'BEFB7340259E178E6E1022883E9541247BA8BC827D52D08FC6F930D24762D0B2'
$file = Join-Path $env:TEMP 'Codex-2.0.5-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 install-codex.ps1
$url = 'https://github.com/jcv8000/Codex/releases/download/v2.0.5/Codex-2.0.5-Setup.exe'
$sha256 = 'BEFB7340259E178E6E1022883E9541247BA8BC827D52D08FC6F930D24762D0B2'
$file = Join-Path $env:TEMP 'Codex-2.0.5-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