I’m trying to run codex on a Sprite. The current version is outdated (v0.118.0), but updating doesn’t seem to work. I’ve tried Codex’s own update routine, and invoking the update directly - npm install -g @openai/codex. Neither work because codex is installed to .local/bin instead of the global NPM location.
Nice, I’d do that then. Or you can probably delete the old version, and then the new one will be found automatically.
I’m surprised that self-update did not work; if that actually failed (Unix exit code non-zero) then it might be worth reporting that as a bug to Codex. A binary installed to a non-standard location should be able to cope with that change.