🌐
Openai
developers.openai.com › codex › app
App – Codex | OpenAI Developers
February 12, 2026 - The Codex app is a focused desktop experience for working on Codex threads in parallel, with built-in worktree support, automations, and Git functionality. ChatGPT Plus, Pro, Business, Edu, and Enterprise plans include Codex.
🌐
OpenAI
openai.com › index › introducing-the-codex-app
Introducing the Codex app | OpenAI
February 2, 2026 - This new way of building coupled with new model capabilities demands a different kind of tool, which is why we are introducing the Codex desktop app, a command center for agents.
🌐
GitHub
github.com › openai › codex
GitHub - openai/codex: Lightweight coding agent that runs in your terminal · GitHub
1 week ago - Lightweight coding agent that runs in your terminal - openai/codex
Starred by 73K users
Forked by 10.2K users
Languages   Rust 94.7% | Python 2.9% | TypeScript 1.4% | JavaScript 0.3% | Starlark 0.3% | Jupyter Notebook 0.1%
🌐
Reddit
reddit.com › r/codex › i got the macos codex desktop app (.dmg) running on ubuntu linux — here’s the full technical breakdown
r/codex on Reddit: I got the macOS Codex desktop app (.dmg) running on Ubuntu Linux — here’s the full technical breakdown
February 6, 2026 -

I got the macOS Codex desktop app (.dmg) running on Ubuntu Linux — here’s the full technical breakdown

I recently experimented with running the macOS-only Codex desktop app on Ubuntu.
Since .dmg isn’t a native Linux package, there’s no direct install path — so I approached this as a cross-platform packaging, runtime, and deep debugging problem.

The core idea

Instead of trying to “install” the DMG, I built a bridge layer:

  • Extract the macOS Electron payload

  • Rebuild Linux-compatible native modules

  • Launch the UI on Linux

  • Correctly wire it to the modern Codex CLI backend

So the final architecture became:

  • UI runtime: Electron app from extracted asar-unpacked

  • Backend agent: codex app-server (CLI)

  • Bridge launcher: Linux script that sets env + connects UI → CLI

  • Config state: ~/.codex/config.toml controlling default model + migrations

Step 1 — Preparing a runnable Linux payload

From the DMG:

  • Extracted the application bundle

  • Unpacked app.asarasar-unpacked

  • Rebuilt required native Node modules for Linux ABI, notably:

    • better-sqlite3

    • node-pty

Without this rebuild, Electron crashed immediately on Ubuntu.

Step 2 — Creating a real Linux launcher

I created:

  • ~/.local/bin/codex-dmg-linux → launcher script

  • Desktop entry under ~/.local/share/applications/

The launcher:

  • Reads payload location via CODEX_DMG_WORKDIR

  • Optionally overrides CLI via CODEX_CLI_PATH

  • Sets required env:

    • BUILD_FLAVOR=prod

    • NODE_ENV=production

    • renderer URL → local webview

  • Starts Electron with Linux-safe flags.

At this point, the UI launched successfully on Ubuntu.

Step 3 — The real failure: messages silently didn’t send

No UI errors.
But backend turns failed with:

model_not_found

So this became a runtime / backend investigation, not a UI issue.

Root cause — hidden CLI version skew

I discovered two Codex CLI installations:

  • New CLI → 0.98.0 (supports gpt-5.3-codex)

  • Old CLI → 0.94.0 (pulled in via extension / launcher path)

The desktop app was invoking the old CLI,
so the requested model didn’t exist → model_not_found.

Classic path-resolution / version-skew bug that looks like an account or server issue.

Final fix

  • Patched launcher to use the modern Linuxbrew CLI explicitly

    • /home/linuxbrew/.linuxbrew/bin/codex

  • Restored default model:

    • model = "gpt-5.3-codex"

  • Removed a migration rule that downgraded 5.3 → 5.2

Verification (end-to-end)

Confirmed correctness at multiple layers:

  • model/list shows gpt-5.3-codex

  • Direct inference:codex exec --model gpt-5.3-codex "Reply with one word: ok" → returns ok

  • thread/start via app-server reports:

    • model = gpt-5.3-codex

    • cliVersion = 0.98.0

  • Running process confirmed from Linuxbrew path.

Warnings observed but non-blocking:

  • DBus UnitExists

  • Node url.parse deprecation

  • MCP context provider failure

None affected chat functionality.

Open-source bridge (no proprietary binaries)

Repo:
https://github.com/Mina-Sayed/codex-dmg-linux-bridge

Includes:

  • Launcher script

  • Setup + troubleshooting docs

  • No DMG or proprietary binaries (downloaded separately from official source for licensing reasons).

Engineering time

Total time: ~1 hour 10 minutes.

What used to take days of low-level debugging
can now be compressed into minutes —
if you know how to properly drive AI agents and verify the system end-to-end.

Happy to answer questions or discuss Electron cross-platform quirks,
native module rebuilding, or Codex CLI runtime behavior.

🌐
Reddit
reddit.com › r/codex › running codex desktop on mac and linux
r/codex on Reddit: Running Codex Desktop on Mac and Linux
February 18, 2026 - Hi guys, so I managed to make Codex desktop work on Windows and Linux. It wasn't super difficult. First, download the dmg and extract it. Then use…
🌐
OpenAI
openai.com › codex
Codex | AI Coding Partner from OpenAI | OpenAI
6 days ago - “The recent Codex releases have been a step change. Codex PR reviews catch bugs our team would have missed, and we ship with more confidence because of it. Now we’re pulling the CLI and desktop app into more of our workflows—each release raises the bar.”
🌐
Openai
developers.openai.com › codex › cli
CLI – Codex | OpenAI Developers
The Codex CLI is available on macOS and Linux. Windows support is experimental.
🌐
GitHub
github.com › ilysenko › codex-desktop-linux
GitHub - ilysenko/codex-desktop-linux: Run OpenAI Codex Desktop on Linux - automated installer · GitHub
February 4, 2026 - The official Codex Desktop app is macOS-only. This project provides an automated installer that converts the macOS .dmg into a working Linux application, then packages that app as a native Linux package.
Starred by 162 users
Forked by 37 users
Languages   Rust 54.3% | Shell 37.9% | Makefile 3.3% | Nix 2.5% | JavaScript 2.0%
🌐
Openai
developers.openai.com › codex › ide
IDE extension – Codex | OpenAI Developers
5 days ago - The Codex VS Code extension is available on macOS and Linux. Windows support is experimental.
Find elsewhere
🌐
amanhimself.dev
amanhimself.dev › blog › first-few-days-with-codex-cli
First few days with Codex CLI | amanhimself.dev
January 4, 2026 - You might think a command-line interface is a step backward from pretty chat windows (even inside code editors like Cursor or Claude’s/ChatGPT’s desktop app). I disagree. The killer feature for me is that Codex generates AGENTS.md and SKILL.md files, which are plain markdown files that live inside your project.
🌐
ChatGPT
chatgpt.com › codex
Codex
3 weeks ago - “The recent Codex releases have been a step change. Codex PR reviews catch bugs our team would have missed, and we ship with more confidence because of it. Now we’re pulling the CLI and desktop app into more of our workflows—each release raises the bar.”
🌐
OpenAI Developer Community
community.openai.com › codex
Linux Enablement, Startup Remediation, and Runtime Validation for the Codex Desktop Path - NATIVE LINUX CLIENT WORKING - Codex - OpenAI Developer Community
1 month ago - Linux Enablement for the Codex Desktop Path Open Research and Development Laboratories (ORDL) validated a working Linux path for the Codex desktop application on RHEL 9.7 x86_64. This was not just a one-off launch test. The work covered packaging, startup remediation, runtime validation, and repeated sign-in/sign-out checks on a live Linux environment.
🌐
Google Translate
translate.google.com › translate
Codex CLI
The Codex CLI is available on macOS and Linux. Windows support is experimental.
🌐
Medium
medium.com › @housemd › an-easier-way-to-run-codex-cli-on-linux-37b2b1aca070
An easier way to run codex cli on linux - Nino - Medium
November 16, 2025 - An easier way to run codex cli on linux sudo apt install npm is easy enough but that’s just the beginning — you’re about to run into permission issues unless you run it as root — which you …