Making Codex CLI and Codex.app Use mise-managed Ruby and Node.js

I mostly use Claude Code, but lately I’ve been using Codex CLI and Codex.app (hereafter “Codex”) more often too. My environment is macOS. However, after I started using mise in [2026-03-29-1] , I ran into trouble because Codex wouldn’t use the mise-managed Ruby, Node.js, and so on. Here’s the state I was in: $ where ruby /usr/bin/ruby $ ruby --version ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.arm64e-darwin25] The Solution I solved it by adding the following to ~/.zshenv: ...

2026-05-30 (Sat) · masutaka

Migrating from asdf and direnv to mise

For managing versions of development tools like Ruby and Node.js, I had gone through *env tools like rbenv and nodenv , then switched to asdf in 2019. For environment variable management, I had been using direnv since even earlier—2014. Recently, a tool called mise has been gaining attention. I wasn’t particularly having issues, but out of curiosity and the motivation to reduce the number of tools—since I heard mise also has direnv-like functionality—I decided to make the switch. My environment is macOS. ...

2026-03-29 (Sun) · masutaka