INSTALL · START · APPROVAL MODES
Same three steps as any of these tools:
1. Install it once, for the whole computer:
npm install -g @openai/codex
2. Walk into your project and start it:
cd my-project
codex
3. Sign in with your OpenAI account the first time.
Then the important part: how much rope do you give it? Codex asks how freely it may act — whether to check with you before each edit, or to work on its own and show you the result at the end.
Start cautious. Let it ask permission for everything until you've watched it work a few times and you trust what it does. You can always loosen the leash; you can't un-delete a file.
Every one of these agents has some version of this dial, and it's the single most important setting you'll touch. Roughly, it has three positions:
The advice is genuinely simple: stay on the cautious setting until watching it work has become boring. Boredom is the signal that you understand what it does. Until then, every approval prompt is a free lesson in what the tool is actually doing.
And whatever the setting: work in a folder backed up by Git. That way any change can be undone with one command. Nobody is careful enough to skip that.
Type the command that starts Codex once it's installed. (One word.)
You've just installed Codex and you're about to use it on a real project. Which approval setting should you choose?
Keeping your project in Git means a bad change can be undone.