AI for Research Efficiency, episode 2.2: Install Codex CLI Narration: an AI-generated voice (ElevenLabs). [0:00] Codex CLI In a few minutes, Codex CLI will be working in your project folder, and you'll know how to keep it in check. AI for Research Efficiency. Episode 2.2: Install Codex CLI. Last time: a terminal, a project folder, Git and Python, and an account. In this episode: install Codex CLI, sign in, run it in your project folder, and check each step before you speed up. [0:33] Install Step one: in PowerShell, paste this line. It starts PowerShell with permission to run OpenAI's installer, then downloads it and runs it. On a Mac, use the second line, in Terminal. Both lines are on the companion page. [0:55] Check the version Step two: close the terminal, open a new one, and type codex --version. You should see a version number. [1:07] Start in your folder Step three: go into your project folder with cd agent-work, and type codex. Always start it in a project folder, never in your home folder. [1:21] Sign in Step four: choose how to sign in: with your ChatGPT plan, or with an OpenAI API key you pay for as you use it. Your browser opens. Sign in there, and you're back in the terminal. [1:38] Trust the folder Step five: Codex asks whether to trust this folder. It's your project folder: trust and continue. On Windows, it also sets up a sandbox that keeps its commands inside this folder. If your computer won't allow the stronger sandbox, Codex uses a weaker one, which still works. [2:00] Check each step Step six: type slash permissions to choose how much it may do. While you learn, choose Ask for approval. It works on its own inside your project folder, and asks before going beyond it. In a folder without Git, it starts read-only, so it can look, but not change anything. [2:21] A first question Step seven: ask it something. What's in this folder? It looks through the folder, and answers in plain words. [2:36] Speed up Step eight: when you trust it with a task, choose Approve for me in slash permissions. An automatic reviewer answers its requests, and the work goes much faster. OpenAI's own advice: for most work, start with Ask for approval. [2:55] Try it Pause now: install Codex CLI, open a new terminal, and check the version. [3:07] Review and next So: one line to install, a new terminal, your project folder, sign in, trust the folder, Ask for approval first, then Approve for me when you trust it. Next: a worked example. Agents read a whole literature folder in parallel, and check every claim.