For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Primary navigation

Codex environments

Choose where a Codex chat runs and how its files stay isolated

In the ChatGPT desktop app, open the ChatGPT dropdown and select Codex. When starting a Codex chat, choose where it runs:

  • Local: work directly in your current project directory.
  • Worktree: isolate changes in a Git worktree. Learn more.
  • Cloud: run remotely in a configured cloud environment.

Both Local and Worktree chats run on your computer.

For the full glossary and concepts, explore the concepts section.