Primary navigation

Codex environments

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

In the ChatGPT desktop app, open the ChatGPT dropdown and select Codex. When starting a Codex task, 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 tasks run on your computer.

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