Commands for installing Codex Mobile Bridge 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 try2love.CodexMobileBridge -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id try2love.CodexMobileBridge -e --silentwinget uninstall --id try2love.CodexMobileBridge -e --silentBy installer
64-bit · EXE (NSIS) · Current user
Silent install
Codex-Mobile-Bridge-2.2.0-Windows-x64-Setup.exe /SCustom folder
Codex-Mobile-Bridge-2.2.0-Windows-x64-Setup.exe /S /D=C:\Apps\codex-mobile-bridge- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\36883bea-4af2-555e-ace9-54ede116018b
- Install folder
- %LocalAppData%\Programs\Codex Mobile Bridge
64-bit · EXE (NSIS) · All users
Silent install
Codex-Mobile-Bridge-2.2.0-Windows-x64-Setup.exe /SCustom folder
Codex-Mobile-Bridge-2.2.0-Windows-x64-Setup.exe /S /D=C:\Apps\codex-mobile-bridge- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\36883bea-4af2-555e-ace9-54ede116018b
- Install folder
- %ProgramFiles%\Codex Mobile Bridge
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-codex-mobile-bridge.ps1
$url = 'https://github.com/try2love/codex-mobile-bridge/releases/download/v2.2.0/Codex-Mobile-Bridge-2.2.0-Windows-x64-Setup.exe'
$sha256 = '623A269793B2B89E84FEC3994EB7BE88A8427F8997825E6294BA4EA7A9B67BD1'
$file = Join-Path $env:TEMP 'Codex-Mobile-Bridge-2.2.0-Windows-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 install-codex-mobile-bridge.ps1
$url = 'https://github.com/try2love/codex-mobile-bridge/releases/download/v2.2.0/Codex-Mobile-Bridge-2.2.0-Windows-x64-Setup.exe'
$sha256 = '623A269793B2B89E84FEC3994EB7BE88A8427F8997825E6294BA4EA7A9B67BD1'
$file = Join-Path $env:TEMP 'Codex-Mobile-Bridge-2.2.0-Windows-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