dev-util/codex-bin - 0.135.0 (bentoo)

Search

Install

Install this version:

emerge -a =dev-util/codex-bin-0.135.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-util/codex-bin-0.135.0

Or alternatively:

emerge --autounmask-write -a =dev-util/codex-bin-0.135.0

Package Information

Description:
Codex CLI - OpenAI's AI-powered coding agent (prebuilt binary)
Homepage:
https://github.com/openai/codex
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
0.135.0 8 -* ~amd64 ~arm64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit unpacker

DESCRIPTION="Codex CLI - OpenAI's AI-powered coding agent (prebuilt binary)"
HOMEPAGE="https://github.com/openai/codex"

SRC_URI="
	amd64? (
		https://github.com/openai/codex/releases/download/rust-v${PV}/codex-x86_64-unknown-linux-musl.tar.gz
			-> ${P}-x86_64-unknown-linux-musl.tar.gz
	)
	arm64? (
		https://github.com/openai/codex/releases/download/rust-v${PV}/codex-aarch64-unknown-linux-musl.tar.gz
			-> ${P}-aarch64-unknown-linux-musl.tar.gz
	)
"

S="${WORKDIR}"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="-* ~amd64 ~arm64"
RESTRICT="strip"

RDEPEND="!dev-util/codex"

src_install() {
	if use amd64; then
		newbin codex-x86_64-unknown-linux-musl codex
	elif use arm64; then
		newbin codex-aarch64-unknown-linux-musl codex
	else
		die "Unsupported architecture"
	fi
}

Inherited Eclasses

Dependencies

RDEPEND

!dev-util/codex

Manifest for 0.135.0

Type File Size Source URLs
DIST codex-bin-0.135.0-aarch64-unknown-linux-musl.tar.gz 79453365 bytes https://github.com/openai/codex/releases/download/rust-v0.135.0/codex-aarch64-unknown-linux-musl.tar.gz
DIST codex-bin-0.135.0-x86_64-unknown-linux-musl.tar.gz 86258958 bytes https://github.com/openai/codex/releases/download/rust-v0.135.0/codex-x86_64-unknown-linux-musl.tar.gz