Created by Kaizen, for Unbound
Set Up Codex in Terminal
Codex is OpenAI's coding agent for the terminal. It can read a project folder, make edits, run commands, and help build the first agent from a clear project plan.
First: open Terminal
Terminal is the app that lets you type instructions directly to your computer. It looks plain, but it is how tools like Codex can open folders, install setup pieces, read project files you allow, run commands, and show you what happened.
Mac
Press Command + Space, type Terminal, then press Return.
Windows
Search for PowerShell, then open it. If the official setup page gives a Windows command, use that command instead.
Codex install command
Copy this line, paste it into Terminal, then press Return.
curl -fsSL https://chatgpt.com/codex/install.sh | sh
Simple setup steps
- 1Open Terminal.
- 2Copy the install command on this page.
- 3Paste it into Terminal and press Return.
- 4Wait for the install to finish.
- 5Type codex and press Return.
- 6Sign in with your ChatGPT account or an OpenAI API key if Codex asks you to.
- 7Open the project folder you want Codex to work inside.
- 8Ask Codex for one clear task at a time, like creating an agent identity file or checking a setup step.
How Codex works in Terminal
- Codex uses Terminal so it can work directly with the selected project folder on your computer.
- Codex can inspect files, suggest changes, make edits, run commands, and show you what changed.
- For agent building, Codex is useful after the project folder, knowledge base, and commander prompt are clear.
- Start with one small job. Ask Codex to show you the plan first if you are not sure what it is about to do.