@sunjiehao/codex-up
v0.1.0
Published
Update the OpenAI Codex CLI with one command.
Readme
codex-up
Small macOS/Linux helper command for updating Codex CLI:
npm i -g @openai/codex@latestInstall
With npm:
npm i -g @sunjiehao/codex-upThen run:
codex-upThe npm package name is scoped because the unscoped codex-up package name is already taken on npm.
Manual Install
From a cloned copy of this folder:
sh install.shThen run:
codex-upIf your shell cannot find codex-up, add this to ~/.zshrc, ~/.bashrc, or the equivalent shell config:
export PATH="$HOME/.local/bin:$PATH"Move To Another Mac Or Linux Device
Use npm on the other device:
npm i -g @sunjiehao/codex-up
codex-upOr copy this folder to the other device, then run:
sh install.sh
codex-upRequirements:
- Node.js and npm are installed.
- Your npm global install location is writable, or your npm setup already handles global packages without
sudo.
Publish
npm login
npm publish --access public