DEV Community

Run Codex CLI with Local LLM - Gemma4 with llama.cpp on WSL2 (opens in new tab)

Covers Codex CLIDiscussed on DEV

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
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help