Run Codex CLI with Local LLM - Gemma4 with llama.cpp on WSL2 (opens in new tab)
requirements llama.cpp nodejs (if you use npm) I'm using NVIDIA GeForce RTX 3070. Step 1. Install codex First install codex on WSL. If Node.js isn’t installed yet, I recommend installing it with mise. Migrating from asdf to mise without the headaches 0xkoji 0xkoji 0xkoji Follow Dec 22 '25 Migrating from asdf to mise without the headaches #asdf #mise #toolchain #cli Add Comment 3 min read npm install -g @openai/codex@latest # or use curl curl -fsSL | sh CLI – Codex | OpenAI Developers Pair wit...
Read the original article