Pick Codex web or CLI by where code lives
Run Codex where the code already lives.
You already checked out a repo, then opened chatgpt.com/codex for a first edit. That is usually the wrong surface. Run Codex where the code already lives. To walk the web-vs-CLI choice with someone, open a browser room on figmeet.
People searching Codex web vs CLI often treat a cloud task and a terminal session that can write the workspace as the same thing. OpenAI docs describe one ChatGPT account and several clients — not one runtime.
How the docs split the surfaces
Codex on the web (cloud)
The Quickstart labels chatgpt.com for complex work in the cloud with no install. Use it when you have no local checkout or you want a remote environment to finish the job. Output lives in the cloud session, not automatically in your laptop's git diff.
Codex CLI (local terminal)
The openai/codex README says the CLI runs locally on your computer. From the repo root, run codex, tune writes with /permissions and --sandbox workspace-write. For scripts and CI, use codex exec.
IDE extension (third client)
Docs also list a Codex IDE extension for VS Code, Cursor, and similar editors. When you already live in the editor and want patches beside open files, the extension beats juggling tabs and a terminal.
A thirty-second decision
-
1
Ask whether success is a git diff
If the branch must show file changes, start the CLI or IDE extension at the repo root — do not expect the web chat to patch your disk. For the write path, see first CLI write on this site.
-
2
No local checkout → web
With only a ChatGPT login or a long job for the cloud, open
chatgpt.com/codexand choose Work in → Cloud (Quickstart wording). Installing the CLI does not create a checkout you do not have. -
3
Scripts / CI → codex exec
To edit README or run review headlessly, use
codex exec --sandbox workspace-writeand name relative paths. The web UI has no equivalent local sandbox flags.
| Your constraint | Open this | Why |
|---|---|---|
| Local git repo must land a diff | codex in the terminal | CLI: workspace + sandbox |
| No checkout, only a ChatGPT login | chatgpt.com/codex | Web: cloud tasks |
| Edit while you type in the IDE | Codex IDE extension | Extension: open files |
| Headless README edit in CI | codex exec | CLI: flags + sandbox |
# Local repo — CLI
cd ~/code/my-app
codex --sandbox workspace-write --ask-for-approval on-request
# No checkout — web
# Browser: https://chatgpt.com/codex → Work in → Cloud
Once you pick a surface, use a room on figmeet to explain why CLI beat web for this task — create and join. A short sync does not need another meeting client; see when not to use heavy meeting apps.
Easy to mix up
Do web Codex and the CLI share one ChatGPT account?
Yes. OpenAI ties the clients to the same ChatGPT sign-in and plan limits. Same account does not mean the session writes the same disk.
If I installed the CLI, can I ignore the web?
You do not have to pick one forever. CLI owns local dirs and sandbox flags; web owns no-checkout and long cloud tasks. The wrong client is what produces “Codex replied but git is clean.”
Does figmeet configure Codex for me?
No. figmeet is a temporary voice-and-whiteboard room in the browser for alignment. It does not sign you into ChatGPT or run Codex.