English

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.

New chat composer with Local, Worktree, and Cloud environment options