Package Details: openai-codex-bin 0.154.0-1

Git Clone URL: https://aur.archlinux.org/openai-codex-bin.git (read-only, click to copy)
Package Base: openai-codex-bin
Description: Arch Linux package for OpenAI's Codex CLI - Auto Updated
Upstream URL: https://github.com/openai/codex
Keywords: ai assistant chatgpt cli codex openai
Licenses: Apache
Conflicts: openai-codex, openai-codex-autoup-bin
Provides: openai-codex
Replaces: openai-codex-autoup-bin
Submitter: jackmhny
Maintainer: chmouel
Last Packager: chmouel
Votes: 25
Popularity: 3.93
First Submitted: 2025-07-21 20:48 (UTC)
Last Updated: 2026-09-10 03:22 (UTC)

Dependencies (2)

Required by (9)

Sources (4)

Pinned Comments

chmouel commented on 2026-01-31 09:12 (UTC) (edited on 2026-01-31 09:42 (UTC) by chmouel)

I have adopted the package and obsoleted the openai-codex-autoup-bin

This package is auto updated twice a day via a github actions with the latest binary release (not git the release) from upstream. (see it here https://github.com/chmouel/aur-update)

Thanks Jack for all the work on this package

Latest Comments

1 2 3 4 Next › Last »

dvic commented on 2026-07-09 18:19 (UTC) (edited on 2026-07-09 18:22 (UTC) by dvic)

Hi, thanks for maintaining this! Heads-up that since Codex 0.144 the package is missing a companion binary.

For code-mode-capable models (e.g. gpt-5.6), the CLI spawns a helper it looks for next to itself at dirname(codex)/codex-code-mode-host. Since the package installs only /usr/bin/codex, those models fail every tool call with:

failed to spawn code-mode host /usr/bin/codex-code-mode-host: No such file or directory (gpt-5.5 uses the old direct-exec path, so it's unaffected — easy to miss.)

The release already publishes the binary alongside codex. Adding the source (same idea for aarch64):

source_x86_64+=("codex-code-mode-host-${pkgver}-x86_64.tar.gz::https://github.com/openai/codex/releases/download/rust-v${pkgver}/codex-code-mode-host-x86_64-unknown-linux-musl.tar.gz") and installing it in package():

install -Dm755 "codex-code-mode-host-${CARCH}-unknown-linux-musl" "$pkgdir/usr/bin/codex-code-mode-host" The host and CLI share a versioned handshake, so pinning both to the same release tag keeps them compatible. Thanks!

chmouel commented on 2026-05-02 05:52 (UTC)

thanks @kralonur this has been fixed

kralonur commented on 2026-05-01 16:25 (UTC)

So seems like GNU Linux release artifacts are stopped from publishing. You might want to change your PKGBUILD do musl. Probably that's why we did not received new version from your aur auto updater.

Source: https://github.com/openai/codex/pull/19445

chmouel commented on 2026-03-04 13:17 (UTC)

Powershell completition is not necessary.

it is, there is users of pwsh on linux

kemelzaidan commented on 2026-03-04 13:09 (UTC)

Powershell completition is not necessary.

chmouel commented on 2026-02-26 13:42 (UTC)

added completion for other shell here https://github.com/chmouel/aur-update/commit/dac6b319dcb93e87e98cfc9e85bcfb83dd940d89 should be included with the next codex update

yuzujr commented on 2026-02-19 03:14 (UTC)

can you add installation for all available completions? [default: bash] [possible values: bash, elvish, fish, powershell, zsh]

chmouel commented on 2026-01-31 09:12 (UTC) (edited on 2026-01-31 09:42 (UTC) by chmouel)

I have adopted the package and obsoleted the openai-codex-autoup-bin

This package is auto updated twice a day via a github actions with the latest binary release (not git the release) from upstream. (see it here https://github.com/chmouel/aur-update)

Thanks Jack for all the work on this package

jackmhny commented on 2026-01-31 09:11 (UTC)

disowned the package because i use opencode now

script3r commented on 2025-12-25 02:13 (UTC)

Hi! I built and tested an update to 0.77.0; checksums updated. Please consider merging.

diff --git a/PKGBUILD b/PKGBUILD
index fe55be7..444bffd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
 # Maintainer: Jack Mahoney <jacksmahoney@gmail.com>
 pkgname=openai-codex-bin
-pkgver=0.74.0
+pkgver=0.77.0
 pkgrel=1
 pkgdesc="Lightweight coding agent that runs in your terminal (binary release)"
 arch=('x86_64' 'aarch64')
@@ -16,12 +16,12 @@ optdepends=(
 source_x86_64=(
     "codex-${pkgver}-x86_64.tar.gz::https://github.com/openai/codex/releases/download/rust-v${pkgver}/codex-x86_64-unknown-linux-gnu.tar.gz"
 )
-sha256sums_x86_64=('fb881fb21f1ad461563dbf2773bcace637e3b11e9ccb038fdbd676444ecaf09c')
-sha256sums_aarch64=('58442efeae43d11e43d1ab3f83177129bdc7ad4cacf9b9a0311b0cc801c44730')
+sha256sums_x86_64=('54d1dfbccd9625128e44c65f80640215314929fd2c5f52efd1f23698ed27388b')
+sha256sums_aarch64=('193be0eafe7dd63ca439276dc38535afad9ce8691af855bd96dcb8196059216a')

 source_aarch64=(
     "codex-${pkgver}-aarch64.tar.gz::https://github.com/openai/codex/releases/download/rust-v${pkgver}/codex-aarch64-unknown-linux-gnu.tar.gz"
 )