ilysenko / codex-desktop-linux
Run OpenAI Codex Desktop on Linux - automated installer
description README.md
ChatGPT Community for Linux
English | 简体中文
codex-desktop is an unofficial, community-maintained distribution of
OpenAI's official Linux ChatGPT desktop application. It verifies and
repackages the signed upstream Linux payload, adds disabled-by-default Linux
features, and produces deb, RPM, pacman, AppImage, and Nix outputs.
The custom application appears in desktop menus as ChatGPT Community and
uses an icon marked with a blue C. Its package, command, and installation
identity remain codex-desktop and /opt/codex-desktop, so it is easy to
distinguish from OpenAI's separate ChatGPT package.
OpenAI's signed Linux .deb is the only upstream source. The official
Electron runtime, native modules, bundled codex and rg, code-mode host,
plugins, libraries, locales, and Owl metadata are reused directly. With no
ASAR-changing feature enabled, resources/app.asar remains byte-for-byte
identical to the official package.
Install · Uninstall · Features · Updates · Build · Troubleshooting · Docs · Discord
Before contributing, read CONTRIBUTING.md. Maintainers and coding agents should also read AGENTS.md.
Install
Clone the repository before building a native package or AppImage:
git clone https://github.com/ilysenko/codex-desktop-linux.git
cd codex-desktop-linux
| Platform | Recommended command | Result |
|---|---|---|
| Debian, Ubuntu, Pop!_OS, Mint, Elementary | make bootstrap-native | Builds and installs a .deb |
| Raspberry Pi 5, 64-bit OS | make bootstrap-native | Builds the official arm64 payload; see Pi notes |
| Fedora | make bootstrap-native | Builds and installs an RPM |
| openSUSE | make bootstrap-native | Builds and installs an RPM |
| Arch, Manjaro, EndeavourOS | make bootstrap-native | Builds and installs a pacman package |
| NixOS or another Nix system | nix run github:ilysenko/codex-desktop-linux | Builds and runs the flake output; see Nix |
| Atomic desktops or another distribution | make build-app && make appimage | Produces a local AppImage without the native updater |
The recommended native installation is:
make bootstrap-native
This installs build dependencies, resolves the current package through
OpenAI's signed stable APT metadata, builds codex-app/, creates the native
package for the detected distribution, and installs the newest artifact from
dist/.
If the dependencies are already installed, use:
make install-native
To choose optional features before installing:
make setup-native
make install-native
make setup-native only writes the local feature selection. It does not build
or install the application. See Native setup for the
guided flow, non-interactive settings, updater selection, and cleanup.
Use an already downloaded official package
Normally the build resolves amd64 or arm64 from the signed stable index.
You can instead provide a local package that you already trust:
UPSTREAM_DEB=/path/to/chatgpt_<version>_<arch>.deb make build-app
The local package is still checked for package name, architecture, control
metadata, payload completeness, and SHA-256 recording. Because signed
repository discovery is skipped, the caller is responsible for its origin.
Old .dmg, DMG=, and CODEX_DMG_* inputs are intentionally unsupported.
Before you install
- Only the latest signed stable OpenAI Linux package is supported, on
amd64andarm64. - Build tools require Node.js 20 or newer, npm, Python 3, curl,
gpgv,dpkg-deb, tar, make, and a C/C++ toolchain. Rust is used for the updater and enabled native feature helpers.make bootstrap-nativeinstalls or guides you through these requirements. - The official
chatgptand customcodex-desktoppackages may coexist, but both intentionally use the upstreamCodexuser profile. Do not run them at the same time; the upstream single-instance lock may route the second launch into the process that is already running. - AppImage never adds
--no-sandboxautomatically. If your distribution disables unprivileged user namespaces, use the native package or follow the sandbox guidance in Troubleshooting.
Anonymous daily usage count
To help the community decide whether maintaining this distribution is useful,
the launcher sends at most one anonymous usage event per UTC day to the
public GoatCounter dashboard. The event
contains only the fixed path /app-launch. GoatCounter derives an aggregate
country from the network request; no application activity, account or machine
identifier, version, architecture, package format, language, screen size, or
referrer is sent. Every installation sends the same fixed, non-identifying
User-Agent so GoatCounter does not discard the request as a bot.
The request runs silently in the background. A missing curl, a blocked
request, or any other error never delays the application and produces no
output. Disable the usage count with the single environment variable:
CODEX_LINUX_DISABLE_USAGE_REPORTING=1 codex-desktop
Uninstall
First close both ChatGPT Community and the official ChatGPT application. Then remove the native package with the package manager that installed it:
# Debian / Ubuntu
sudo apt remove codex-desktop
# Fedora
sudo dnf remove codex-desktop
# openSUSE
sudo zypper remove codex-desktop
# Arch / Manjaro
sudo pacman -R codex-desktop
Native package removal disables the user update service. If a service from an older or manual installation remains, remove it explicitly:
systemctl --user disable --now codex-update-manager.service
systemctl --user daemon-reload
For AppImage, delete the AppImage file you built. For a repository-only app, delete only the generated tree inside the checkout:
rm -rf -- ./codex-app
For Nix, remove the package from your profile, Home Manager configuration, or NixOS module and rebuild that profile or system.
Package removal preserves user data. To remove only Community wrapper and updater state, inspect and then delete the following directories:
~/.config/codex-desktop
~/.local/state/codex-desktop
~/.cache/codex-desktop
~/.config/codex-update-manager
~/.local/state/codex-update-manager
~/.cache/codex-update-manager
If remote-mobile-control was enabled, revoke paired devices before removing
its private device keys. Do not remove ~/.codex unless you intentionally want
to delete the shared Codex profile, configuration, plugins, and project state
used by both official and Community applications.
Feature matrix
Core distribution
| Capability | Default | How it is provided |
|---|---|---|
| Official ChatGPT Linux runtime | Always | Copied from the verified official .deb data payload |
| Signed source verification | Always |
More in Uncategorized

openclaw / openclaw
OpenClaw is an open-source personal AI assistant that runs on your own devices and connects to the communication platforms you already use. It provides a fast, always-available assistant that can respond, listen, speak, and perform tasks across desktop and mobile devices.

obra / superpowers
An agentic skills framework & software development methodology that works.

affaan-m / everything-claude-code
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

NousResearch / hermes-agent
The self-improving AI agent built by Nous Research. It's the only agent with a built-in learning loop — it creates skills from experience, improves them during use, nudges itself to persist knowledge, searches its own past conversations, and builds a deepening model of who you are across sessions.