Configurations for the Codex CLI. To ensure the CLI has everything it needs, install the dependencies from this repo. The Open Codex CLI is provided as a project dependency so you can run it via npm run open-codex or npx open-codex.
-
Ensure you are running Node.js 22 or newer. The bundled
open-codexCLI depends on the latest Node runtime and will emit engine warnings or fail to execute on older versions. -
Install the local dependencies:
npm install
Afterwards you can configure or run the Codex CLI with the provided settings using:
npm run open-codex -- <args>or
npx open-codex <args>