WeSearch

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

·3 min read · 0 reactions · 0 comments · 12 views
#programming#ruby#nodejs#macos#sandbox
Making Codex CLI and Codex.app Use mise-managed Ruby and Node.js
⚡ TL;DR · AI summary

The article discusses how to configure Codex CLI and Codex.app to utilize mise-managed Ruby and Node.js. The author encountered issues due to Codex's sandboxed environment, which prevented the proper loading of environment variables. A solution was found by modifying the ~/.zshenv file to include mise shims in the PATH for non-interactive shells.

Key facts
Original article
DEV.to (Top)
Read full at DEV.to (Top) →
Opening excerpt (first ~120 words) tap to expand

try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 44998) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Takashi Masuda Posted on May 30 • Originally published at masutaka.net Making Codex CLI and Codex.app Use mise-managed Ruby and Node.js #codex #mise 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.

Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from DEV.to (Top)