Codex (Desktop)
Codex Desktop runs on the same adapter as Codex CLI. There is no separate install for Desktop. Once you have run the codex-install command, Desktop loads the hooks from ~/.codex/hooks.json automatically.
Install
Section titled “Install”Follow the Codex (CLI) install. The codex-install command writes ~/.codex/hooks.json, and Codex Desktop reads that file. Nothing else is needed.
What differs from the CLI
Section titled “What differs from the CLI”There are no documented capability differences between Codex Desktop and Codex CLI. Every engine command works identically with the TOKEN_OPTIMIZER_RUNTIME=codex prefix.
One surface detail: the telemetry hook profile adds PostToolUse rows that render in Desktop. If you want those rows visible, install with the telemetry profile:
TOKEN_OPTIMIZER_RUNTIME=codex python3 skills/token-optimizer/scripts/measure.py codex-install --profile telemetryVerify
Section titled “Verify”Same doctor as the CLI:
TOKEN_OPTIMIZER_RUNTIME=codex python3 skills/token-optimizer/scripts/measure.py codex-doctor --project "$PWD"The dashboard runs on port 24843 at http://localhost:24843/token-optimizer.
Uninstall
Section titled “Uninstall”Uninstall from the Codex CLI side. Removing the plugin and the daemon there removes them for Desktop too, because both surfaces share ~/.codex/hooks.json. See Codex (CLI).
See also
Section titled “See also”- Codex (CLI) for the install steps that Desktop inherits.
- Codex platform reference.
- Configuration.