1# Codex environments1# Codex environments
2 2
3In the ChatGPT desktop app, open the ChatGPT dropdown and select **Codex**.3In the ChatGPT desktop app, open the ChatGPT dropdown and select **Codex**.
4When starting a Codex task, choose where it runs:4When starting a Codex chat, choose where it runs:
5 5
6- **Local**: work directly in your current project directory.6- **Local**: work directly in your current project directory.
7- **Worktree**: isolate changes in a Git worktree. [Learn more](https://learn.chatgpt.com/docs/environments/git-worktrees).7- **Worktree**: isolate changes in a Git worktree. [Learn more](https://learn.chatgpt.com/docs/environments/git-worktrees).
8- **Cloud**: run remotely in a configured cloud environment.8- **Cloud**: run remotely in a configured cloud environment.
9 9
10Both **Local** and **Worktree** tasks run on your computer.10Both **Local** and **Worktree** chats run on your computer.
11 11
12For the full glossary and concepts, explore the [concepts section](https://learn.chatgpt.com/docs/prompting).12For the full glossary and concepts, explore the [concepts section](https://learn.chatgpt.com/docs/prompting).
13 13
14<CodexScreenshot14<CodexScreenshot
15 alt="New task composer with Local, Worktree, and Cloud environment options"15 alt="New chat composer with Local, Worktree, and Cloud environment options"
16 lightSrc="/images/codex/app/modes-light.webp"16 lightSrc="/images/codex/app/modes-light.webp"
17 darkSrc="/images/codex/app/modes-dark.webp"17 darkSrc="/images/codex/app/modes-dark.webp"
18 maxHeight="400px"18 maxHeight="400px"