Version-aware install
Install CLI.
This build tracks upstream Codex CLI `0.125.0` and is packaged as
`@chatplus/codex@0.125.0-chatplus.0`.
Ubuntu/Debian
curl -fsSL https://deb.nodesource.com/setup_current.x | bash -
apt-get install -y nodejs
node --version
npm --version
npm install -g https://chatplus.chat/downloads/chatplus-codex-0.125.0-chatplus.0.tgz
chatplus-codex login
The `npm install` command points directly at the ChatPlus package
hosted on this server. It does not install `@openai/codex`.
After npm publish
npm install -g @chatplus/codex@0.125.0-chatplus.0
chatplus-codex login
npm can only resolve this package-name form after the
`@chatplus/codex` package is published to an npm registry.
Source location on this server
/root/codexcli/codex-cli
The hosted tarball is generated from this exact directory using
`npm pack`.
Register npm package
npm login
npm org create chatplus
cd /root/codexcli/codex-cli
npm publish --access public
Publish under an owned scope such as `@chatplus/codex`. Do not use
the OpenAI-owned `@openai/codex` package name.