ブログを更新しました > Codex CLI と Codex.app に mise 管理の Ruby や Node.js を使わせる | マスタカの ChangeLog メモ https://masutaka.net/2026-05-30-1/
Codex CLI と Codex.app に mise 管理の Ruby や Node.js を使わせる

私は Claude Code を使うことが多いですが、最近は Codex CLI や Codex.app(以下 Codex)の使用頻度も上がってきました。環境は macOS です。 しかしながら、[2026-03-29-1] から mise を使い始めたところ、Codex 内では mise 管理の Ruby や Node.js 等を使ってくれず、困っていました。

マスタカの ChangeLog メモ
New blog post > Making Codex CLI and Codex.app Use mise-managed Ruby and Node.js | Masutaka's ChangeLog Memo https://masutaka.net/en/2026-05-30-1/ #codex #mise
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:

Masutaka's ChangeLog Memo