SpyBara
Go Premium Account
2026
3 Mar 2026, 00:35
18 May 2026, 22:01 14 May 2026, 21:00 14 May 2026, 07:00 13 May 2026, 00:57 12 May 2026, 01:59 11 May 2026, 18:00 7 May 2026, 20:02 7 May 2026, 17:08 5 May 2026, 23:00 2 May 2026, 06:45 2 May 2026, 00:48 1 May 2026, 18:29 30 Apr 2026, 18:36 29 Apr 2026, 12:40 29 Apr 2026, 00:50 25 Apr 2026, 06:37 25 Apr 2026, 00:42 24 Apr 2026, 18:20 24 Apr 2026, 12:28 23 Apr 2026, 18:31 23 Apr 2026, 12:28 23 Apr 2026, 00:46 22 Apr 2026, 18:29 22 Apr 2026, 00:42 21 Apr 2026, 18:29 21 Apr 2026, 12:30 21 Apr 2026, 06:45 20 Apr 2026, 18:26 20 Apr 2026, 06:53 18 Apr 2026, 18:18 17 Apr 2026, 00:44 16 Apr 2026, 18:31 16 Apr 2026, 00:46 15 Apr 2026, 18:31 15 Apr 2026, 06:44 14 Apr 2026, 18:31 14 Apr 2026, 12:29 13 Apr 2026, 18:37 13 Apr 2026, 00:44 12 Apr 2026, 06:38 10 Apr 2026, 18:23 9 Apr 2026, 00:33 8 Apr 2026, 18:32 8 Apr 2026, 00:40 7 Apr 2026, 00:40 2 Apr 2026, 18:23 31 Mar 2026, 06:35 31 Mar 2026, 00:39 28 Mar 2026, 06:26 28 Mar 2026, 00:36 27 Mar 2026, 18:23 27 Mar 2026, 00:39 26 Mar 2026, 18:27 25 Mar 2026, 18:24 23 Mar 2026, 18:22 20 Mar 2026, 00:35 18 Mar 2026, 12:23 18 Mar 2026, 00:36 17 Mar 2026, 18:24 17 Mar 2026, 00:33 16 Mar 2026, 18:25 16 Mar 2026, 12:23 14 Mar 2026, 00:32 13 Mar 2026, 18:15 13 Mar 2026, 00:34 11 Mar 2026, 00:31 9 Mar 2026, 00:34 8 Mar 2026, 18:10 8 Mar 2026, 00:35 7 Mar 2026, 18:10 7 Mar 2026, 06:14 7 Mar 2026, 00:33 6 Mar 2026, 00:38 5 Mar 2026, 18:41 5 Mar 2026, 06:22 5 Mar 2026, 00:34 4 Mar 2026, 18:18 4 Mar 2026, 06:20 3 Mar 2026, 18:20 3 Mar 2026, 00:35 27 Feb 2026, 18:15 24 Feb 2026, 06:27 24 Feb 2026, 00:33 23 Feb 2026, 18:27 21 Feb 2026, 00:33 20 Feb 2026, 12:16 19 Feb 2026, 20:53 19 Feb 2026, 20:37
2 May 2026, 06:45
18 May 2026, 22:01 14 May 2026, 21:00 14 May 2026, 07:00 13 May 2026, 00:57 12 May 2026, 01:59 11 May 2026, 18:00 7 May 2026, 20:02 7 May 2026, 17:08 5 May 2026, 23:00 2 May 2026, 06:45 2 May 2026, 00:48 1 May 2026, 18:29 30 Apr 2026, 18:36 29 Apr 2026, 12:40 29 Apr 2026, 00:50 25 Apr 2026, 06:37 25 Apr 2026, 00:42 24 Apr 2026, 18:20 24 Apr 2026, 12:28 23 Apr 2026, 18:31 23 Apr 2026, 12:28 23 Apr 2026, 00:46 22 Apr 2026, 18:29 22 Apr 2026, 00:42 21 Apr 2026, 18:29 21 Apr 2026, 12:30 21 Apr 2026, 06:45 20 Apr 2026, 18:26 20 Apr 2026, 06:53 18 Apr 2026, 18:18 17 Apr 2026, 00:44 16 Apr 2026, 18:31 16 Apr 2026, 00:46 15 Apr 2026, 18:31 15 Apr 2026, 06:44 14 Apr 2026, 18:31 14 Apr 2026, 12:29 13 Apr 2026, 18:37 13 Apr 2026, 00:44 12 Apr 2026, 06:38 10 Apr 2026, 18:23 9 Apr 2026, 00:33 8 Apr 2026, 18:32 8 Apr 2026, 00:40 7 Apr 2026, 00:40 2 Apr 2026, 18:23 31 Mar 2026, 06:35 31 Mar 2026, 00:39 28 Mar 2026, 06:26 28 Mar 2026, 00:36 27 Mar 2026, 18:23 27 Mar 2026, 00:39 26 Mar 2026, 18:27 25 Mar 2026, 18:24 23 Mar 2026, 18:22 20 Mar 2026, 00:35 18 Mar 2026, 12:23 18 Mar 2026, 00:36 17 Mar 2026, 18:24 17 Mar 2026, 00:33 16 Mar 2026, 18:25 16 Mar 2026, 12:23 14 Mar 2026, 00:32 13 Mar 2026, 18:15 13 Mar 2026, 00:34 11 Mar 2026, 00:31 9 Mar 2026, 00:34 8 Mar 2026, 18:10 8 Mar 2026, 00:35 7 Mar 2026, 18:10 7 Mar 2026, 06:14 7 Mar 2026, 00:33 6 Mar 2026, 00:38 5 Mar 2026, 18:41 5 Mar 2026, 06:22 5 Mar 2026, 00:34 4 Mar 2026, 18:18 4 Mar 2026, 06:20 3 Mar 2026, 18:20 3 Mar 2026, 00:35 27 Feb 2026, 18:15 24 Feb 2026, 06:27 24 Feb 2026, 00:33 23 Feb 2026, 18:27 21 Feb 2026, 00:33 20 Feb 2026, 12:16 19 Feb 2026, 20:53 19 Feb 2026, 20:37
Fri 1 18:29 Sat 2 00:48 Sat 2 06:45 Tue 5 23:00 Thu 7 17:08 Thu 7 20:02 Mon 11 18:00 Tue 12 01:59 Wed 13 00:57 Thu 14 07:00 Thu 14 21:00 Mon 18 22:01

app/windows.md +187 −35

Details

1# Codex app1# Windows

2 2 

3The Codex app is a focused desktop experience for working on Codex threads in parallel, with built-in worktree support, automations, and Git functionality.3The [Codex app for Windows](https://get.microsoft.com/installer/download/9PLM9XGG6VKS?cid=website_cta_psi) gives you one interface for

4working across projects, running parallel agent threads, and reviewing results.

5The Windows app supports core workflows such as worktrees, automations, Git

6functionality, the in-app browser, artifact previews, plugins, and skills.

7It runs natively on Windows using PowerShell and the

8[Windows sandbox](https://developers.openai.com/codex/windows#windows-sandbox), or you can configure it to

9run in [Windows Subsystem for Linux 2 (WSL2)](#windows-subsystem-for-linux-wsl).

4 10 

5ChatGPT Plus, Pro, Business, Edu, and Enterprise plans include Codex. Learn more about [what’s included](https://developers.openai.com/codex/pricing).11![Codex app for Windows showing a project sidebar, active thread, and review pane](/images/codex/windows/codex-windows-light.webp)

6 12 

7![Codex app window with a project sidebar, active thread, and review pane](/images/codex/app/app-screenshot-light.webp)13## Download and update the Codex app

8 14 

9## Getting started15Download the Codex app from the

16[Microsoft Store](https://get.microsoft.com/installer/download/9PLM9XGG6VKS?cid=website_cta_psi).

10 17 

11The Codex app is available on macOS (Apple Silicon).18Then follow the [quickstart](https://developers.openai.com/codex/quickstart?setup=app) to get started.

12 19 

131. Download and install the Codex app20To update the app, open the Microsoft Store, go to **Downloads**, and click

21**Check for updates**. The Store installs the latest version afterward.

14 22 

15 The Codex app is currently only available for macOS.23For enterprises, administrators can deploy the app with Microsoft Store app

24distribution through enterprise management tools.

16 25 

17 [Download for macOS](https://persistent.oaistatic.com/codex-app-prod/Codex.dmg)26If you prefer a command-line install path, or need an alternative to opening

27the Microsoft Store UI, run:

18 28 

19 [Get notified for Windows and Linux](https://openai.com/form/codex-app/)29```powershell

202. Open Codex and sign in30winget install Codex -s msstore

31```

21 32 

22 Once you downloaded and installed the Codex app, open it and sign in with your ChatGPT account or an OpenAI API key.33## Native sandbox

23 34 

24 If you sign in with an OpenAI API key, some functionality such as [cloud threads](https://developers.openai.com/codex/prompting#threads) might not be available.35The Codex app on Windows supports a native [Windows sandbox](https://developers.openai.com/codex/windows#windows-sandbox) when the agent runs in PowerShell, and uses Linux sandboxing when you run the agent in [Windows Subsystem for Linux 2 (WSL2)](#windows-subsystem-for-linux-wsl). To apply sandbox protections in either mode, set sandbox permissions to **Default permissions** in the Composer before sending messages to Codex.

253. Select a project

26 36 

27 Choose a project folder that you want Codex to work in.37Running Codex in full access mode means Codex is not limited to your project

38 directory and might perform unintentional destructive actions that can lead to

39 data loss. Keep sandbox boundaries in place and use [rules](https://developers.openai.com/codex/rules) for

40 targeted exceptions, or set your [approval policy to

41 never](https://developers.openai.com/codex/agent-approvals-security#run-without-approval-prompts) to have

42 Codex attempt to solve problems without asking for escalated permissions,

43 based on your [approval and security setup](https://developers.openai.com/codex/agent-approvals-security).

28 44 

29If you used the Codex app, CLI, or IDE Extension before you’ll see past projects that you worked on.45## Customize for your dev setup

30 46 

314. Send your first message47### Preferred editor

32 48 

33 After choosing the project, make sure **Local** is selected to have Codex work on your machine and send your first message to Codex.49Choose a default app for **Open**, such as Visual Studio, VS Code, or another

50editor. You can override that choice per project. If you already picked a

51different app from the **Open** menu for a project, that project-specific

52choice takes precedence.

34 53 

35 You can ask Codex anything about the project or your computer in general. Here are some examples:54![Codex app settings showing the default Open In app on Windows](/images/codex/windows/open-in-windows-light.webp)

36 55 

37- Tell me about this project56### Integrated terminal

38- Build a classic Snake game in this repo.

39- Find and fix bugs in my codebase with minimal, high-confidence changes.

40 57 

41 If you need more inspiration, check out the [explore section](https://developers.openai.com/codex/explore).58You can also choose the default integrated terminal. Depending on what you have

59installed, options include:

42 60 

61- PowerShell

62- Command Prompt

63- Git Bash

64- WSL

43 65 

44## Work with the Codex app66This change applies only to new terminal sessions. If you already have an

67integrated terminal open, restart the app or start a new thread before

68expecting the new default terminal to appear.

45 69 

46[### Multitask across projects70![Codex app settings showing the integrated terminal selection on Windows](/images/codex/windows/integrated-shell-light.webp)

47 71 

48Run multiple tasks in parallel and switch quickly between them.](https://developers.openai.com/codex/app/features#multitask-across-projects)[### Built-in Git tools72## Windows Subsystem for Linux (WSL)

49 73 

50Review diffs, comment inline, stage or revert chunks, and commit without leaving the app.](https://developers.openai.com/codex/app/features#built-in-git-tools)[### Worktrees for parallel tasks74By default, the Codex app uses the Windows-native agent. That means the agent

75runs commands in PowerShell. The app can still work with projects that live in

76Windows Subsystem for Linux 2 (WSL2) by using the `wsl` CLI when needed.

51 77 

52Isolate changes of multiple Codex threads using built-in Git worktree support.](https://developers.openai.com/codex/app/worktrees)[### Skills support78If you want to add a project from the WSL filesystem, click **Add new project**

79or press <kbd>Ctrl</kbd>+<kbd>O</kbd>, then type `\\wsl$\` into the File

80Explorer window. From there, choose your Linux distribution and the folder you

81want to open.

53 82 

54Give your Codex agent additional capabilities and reuse skills across App, CLI, and IDE Extension.](https://developers.openai.com/codex/app/features#skills-support)[### Automations83If you plan to keep using the Windows-native agent, prefer storing projects on

84your Windows filesystem and accessing them from WSL through

85`/mnt/<drive>/...`. This setup is more reliable than opening projects

86directly from the WSL filesystem.

55 87 

56Pair skills with automations to automate recurring tasks in the background. Codex adds findings to the inbox, or automatically archives runs if there’s nothing to report.](https://developers.openai.com/codex/app/automations)[### Built-in terminal88If you want the agent itself to run in WSL2, open **[Settings](codex://settings)**,

89switch the agent from Windows native to WSL, and **restart the app**. The

90change doesn't take effect until you restart. Your projects should remain in

91place after restart.

57 92 

58Open a terminal per thread to test your changes, run dev servers, scripts, and custom commands.](https://developers.openai.com/codex/app/features#integrated-terminal)[### Local environments93WSL1 was supported through Codex `0.114`. Starting in Codex `0.115`, the Linux

94sandbox moved to `bubblewrap`, so WSL1 is no longer supported.

59 95 

60Define worktree setup scripts and common project actions for easy access.](https://developers.openai.com/codex/app/local-environments)[### Sync with the IDE extension96![Codex app settings showing the agent selector with Windows native and WSL options](/images/codex/windows/wsl-select-light.webp)

61 97 

62Share Auto Context and active threads across app and IDE sessions.](https://developers.openai.com/codex/app/features#sync-with-the-ide-extension)[### MCP support98You configure the integrated terminal independently from the agent. See

99[Customize for your dev setup](#customize-for-your-dev-setup) for the

100terminal options. You can keep the agent in WSL and still use PowerShell in the

101terminal, or use WSL for both, depending on your workflow.

63 102 

64Connect your Codex agent to additional services using MCP.](https://developers.openai.com/codex/app/features#mcp-support)103## Useful developer tools

65 104 

105Codex works best when a few common developer tools are already installed:

66 106 

67Need help? Visit the [troubleshooting guide](https://developers.openai.com/codex/app/troubleshooting).107- **Git**: Powers the review panel in the Codex app and lets you inspect or

108 revert changes.

109- **Node.js**: A common tool that the agent uses to perform tasks more

110 efficiently.

111- **Python**: A common tool that the agent uses to perform tasks more

112 efficiently.

113- **.NET SDK**: Useful when you want to build native Windows apps.

114- **GitHub CLI**: Powers GitHub-specific functionality in the Codex app.

115 

116Install them with the default Windows package manager `winget` by pasting this

117into the [integrated terminal](https://developers.openai.com/codex/app/features#integrated-terminal) or

118asking Codex to install them:

119 

120```powershell

121winget install --id Git.Git

122winget install --id OpenJS.NodeJS.LTS

123winget install --id Python.Python.3.14

124winget install --id Microsoft.DotNet.SDK.10

125winget install --id GitHub.cli

126```

127 

128After installing GitHub CLI, run `gh auth login` to enable GitHub features in

129the app.

130 

131If you need a different Python or .NET version, change the package IDs to the

132version you want.

133 

134## Troubleshooting and FAQ

135 

136### Run commands with elevated permissions

137 

138If you need Codex to run commands with elevated permissions, start the Codex app

139itself as an administrator. After installation, open the Start menu, find

140Codex, and choose Run as administrator. The Codex agent inherits that

141permission level.

142 

143### PowerShell execution policy blocks commands

144 

145If you have never used tools such as Node.js or `npm` in PowerShell before, the

146Codex agent or integrated terminal may hit execution policy errors.

147 

148This can also happen if Codex creates PowerShell scripts for you. In that case,

149you may need a less restrictive execution policy before PowerShell will run

150them.

151 

152An error may look something like this:

153 

154```text

155npm.ps1 cannot be loaded because running scripts is disabled on this system.

156```

157 

158A common fix is to set the execution policy to `RemoteSigned`:

159 

160```powershell

161Set-ExecutionPolicy -ExecutionPolicy RemoteSigned

162```

163 

164For details and other options, check Microsoft's

165[execution policy guide](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies)

166before changing the policy.

167 

168### Local environment scripts on Windows

169 

170If your [local environment](https://developers.openai.com/codex/app/local-environments) uses cross-platform

171commands such as `npm` scripts, you can keep one shared setup script or

172set of actions for every platform.

173 

174If you need Windows-specific behavior, create Windows-specific setup scripts or

175Windows-specific actions.

176 

177Actions run in the environment used by your integrated terminal. See

178[Customize for your dev setup](#customize-for-your-dev-setup).

179 

180Local setup scripts run in the agent environment: WSL if the agent uses WSL,

181and PowerShell otherwise.

182 

183### Share config, auth, and sessions with WSL

184 

185The Windows app uses the same Codex home directory as native Codex on Windows:

186`%USERPROFILE%\.codex`.

187 

188If you also run the Codex CLI inside WSL, the CLI uses the Linux home

189directory by default, so it doesn't automatically share configuration, cached

190auth, or session history with the Windows app.

191 

192To share them, use one of these approaches:

193 

194- Sync WSL `~/.codex` with `%USERPROFILE%\.codex` on your file system.

195- Point WSL at the Windows Codex home directory by setting `CODEX_HOME`:

196 

197```bash

198export CODEX_HOME=/mnt/c/Users/<windows-user>/.codex

199```

200 

201If you want that setting in every shell, add it to your WSL shell profile, such

202as `~/.bashrc` or `~/.zshrc`.

203 

204### Git features are unavailable

205 

206If you don't have Git installed natively on Windows, the app can't use some

207features. Install it with `winget install Git.Git` from PowerShell or `cmd.exe`.

208 

209### Git isn't detected for projects opened from `\\wsl$`

210 

211For now, if you want to use the Windows-native agent with a project also

212accessible from WSL, the most reliable workaround is to store the project

213on the native Windows drive and access it in WSL through `/mnt/<drive>/...`.

214 

215### `Cmder` isn't listed in the open dialog

216 

217If `Cmder` is installed but doesn't show in Codex's open dialog, add it to the

218Windows Start Menu: right-click `Cmder` and choose **Add to Start**, then

219restart Codex or reboot.