The Practice Room / Codex / Episode 1
Codex, installed in one line
Codex is OpenAI's assistant. It does the same kind of work Claude Code does.
Same job, one extra requirement
Codex is OpenAI's assistant and it does the same kind of work Claude Code does. It comes both ways as well, a desktop app and a terminal command, and again the terminal one is what we install.
There is one real difference at the start. Codex asks something of your machine first. It needs Node installed, where Claude Code needed nothing.
Do it yourself
- Open the Command Prompt. The line should begin with C: and not with PS.
- Type npm install -g @openai/codex and press enter.
- This installer talks while it works. Lines go past, then it tells you what it added.
- When the prompt comes back, type codex and press enter.
- A box opens with its name, the model it is running, and the folder you are standing in.
- Choose sign in with ChatGPT.
- Inside, /init, /status and /model are where you start.
The same job, with one thing in front of it
Claude Code
- One line
- Installs quietly
- Nothing needed first
Codex
- Node has to be there first
- It prints as it goes
- Then the same one line
Node is the engine Codex is written to run on. It is a prerequisite, not an extra product.
What Node is, and why this one needs it
Node is a piece of groundwork that lets programs written in one particular language run on your computer. Plenty of tools are built on it, so you may already have it without knowing.
npm is the installer that arrives with Node. When you type npm install you are asking Node's own shop to fetch something and put it on your machine. That is why the command starts with npm here and did not for Claude Code.
This one is not quiet
The Claude Code install said nothing for a minute and people panicked. Codex does the opposite. It prints line after line while it works, and almost none of it needs reading.
Wait for the prompt to come back. That is the signal, not the last line of text.
Check yourself
What does Codex need that Claude Code did not?
Node, which brings npm with it. The install line starts with npm for exactly that reason.
Which plans can sign in?
A paid ChatGPT plan: Plus, Pro, Business or Enterprise.
Text is scrolling past during the install. Should you read it?
No. Wait for the prompt to come back. That is the finish line.
Which three commands are worth knowing on day one?
/init, /status and /model.
When it goes wrong
npm is not recognised. Node is not installed. There is a second line on the screen in the film for Windows, and Mac and Linux are there as well.
codex: command not found after a clean install. Close the window and open a new one, the same as with Claude Code.
It will not sign in. Check the plan. The free ChatGPT tier does not include Codex.
Words used here
Codex, Claude Code and Cursor compared • Terminal • Which plan to pay for
Go deeper
OpenAI keeps the current install lines and requirements on the Codex CLI page, which is the place to check if a command here has moved on.
What she says in the film
Codex is OpenAI’s assistant. It does the same kind of work Claude Code does.
It also comes both ways, a desktop app and a terminal command. Again we take the terminal.
This one asks something of your machine first. It needs Node installed, where Claude Code needed nothing.
Open the Command Prompt. The line should start with C colon, not with the letters P S.
Type n p m, install, dash g, at openai slash codex. Press enter.
This installer talks while it works. Lines go past, and then it tells you what it added.
When the prompt comes back, type codex and press enter.
A box opens with its name, the model it is running, and the folder you are standing in.
It asks you how to sign in. Choose sign in with ChatGPT. It needs a paid ChatGPT plan. Plus, Pro, Business or Enterprise.
Inside, slash init, slash status and slash model are where you start.
If you do not have Node, there is a second line on the screen for Windows. Mac and Linux are there as well. Pause it here if you need them.
That is your Codex tip for today.
No permission required.
Book a session and we do it together on a call.
Book an hourAsk what did not make sense
Comments go through our own form and are read before they appear. Links are not allowed; describe it in words.
More from Codex.

Can Codex in the terminal generate images?
Last time we installed Codex. Today it makes something different.

What goes in an AGENTS.md file?
Codex forgets everything about your project the moment you close the window.

Codex makes a set of pictures, from the terminal
Ask once, name the style first, and Codex writes every picture into the folder as its own file. They match bec…
Words used in this piece.
Get the next walkthrough.
One email when something goes up. The argument, the film and the term, nothing else. One click to leave.
Have a question now? Ask Mstimaj, she knows the archive.

