Skip to content
zero2app
CoursesLog inRO
All guides

How to install Codex on Mac and Windows, step by step

Written by Andrei Stici · Updated on 18 November 2026

To install Codex, install the ChatGPT desktop app from chatgpt.com/download, sign in and switch to Codex mode. It takes a few minutes and no terminal. Below are the exact steps for a complete beginner, plus the optional terminal and VS Code installs for later.

Since 9 July 2026, Codex is a mode of the ChatGPT desktop app, not a separate program (official release notes), so many older guides are out of date. The steps here follow OpenAI’s official pages, checked on 18 November 2026. Zero2App is not affiliated with OpenAI.

What do you need before you start?

  • A computer. A Mac with macOS 14 or later, Apple silicon or Intel (OpenAI’s Mac requirements), or a PC with Windows 10 version 19041 or later (Microsoft Store listing). On Linux the app is only a preview.
  • A ChatGPT account. If you don’t have one, you create it for free when the app asks you to sign in.
  • A plan. On the official pricing page, Free and Go ($8 a month) include Codex only in the desktop app, with a lighter model, and access is still rolling out. Plus ($20 a month) adds the terminal and VS Code. Details in how much Codex costs.

How do you install the ChatGPT app on a Mac?

  1. Open chatgpt.com/download and download the macOS version.
  2. Open the downloaded file and follow the steps on screen. Usually you drag the ChatGPT icon into the Applications folder.
  3. Start ChatGPT from Applications.

The old Codex app becomes the new ChatGPT app when you update it. If you have the older ChatGPT desktop app, follow the prompt inside it to download the new one; the old one may stay installed as “ChatGPT Classic”, and Codex is in the new one (OpenAI’s guide to moving).

How do you install it on Windows?

  1. Open chatgpt.com/download and choose the Windows version.
  2. The official link takes you to the Microsoft Store install. Follow the steps on screen.
  3. Start ChatGPT from the Start menu.

If the Store won’t load, there’s a one-command way, from OpenAI’s Windows guide. Press the Windows key, type “PowerShell”, open it, paste this line and press Enter:

winget install --id 9PLM9XGG6VKS -s msstore

On both systems, download only from chatgpt.com/download or the Microsoft Store. Copies from other sites can steal accounts.

How do you sign in and switch to Codex mode?

  1. Open the app and sign in with your ChatGPT account.
  2. Open the ChatGPT dropdown menu and choose Codex. The app has three modes: Chat, Work and Codex.

The shortcut is ⌃3 on a Mac (Control and 3) or Alt+3 on Windows (official shortcuts).

How do you choose a folder for your project?

Codex can read and change the files in the folder you give it. So give it a new, empty folder, not your whole Documents folder.

  1. In Finder (Mac) or File Explorer (Windows), go to Documents and make a new folder called first-project. Keep the name plain: no spaces, no accents.
  2. In the app, press ⌘O on a Mac or Ctrl+O on Windows, choose the folder and confirm.
  3. Under the composer (the box where you type), open the permissions button and choose Ask for approval. Codex then works inside this folder and asks you before going beyond it (official permissions page).

How do you check that it works?

Start a new chat in the project with New chat (or ⌘N / Ctrl+N), paste this small request and press Enter:

Create a file called index.html with a page that says “Hello, Codex works!” in large letters. Don’t add anything else. At the end, tell me how to open the page.

Codex may stop and ask permission to write index.html in your folder: read the request and approve it. When it finishes, click the link it gives you, or double-click index.html in Finder or File Explorer. If you see the page, the install works. For a real first project, continue with the Codex tutorial for beginners.

How do you install Codex in the terminal? (optional)

Codex CLI is the same agent, in the terminal. With a ChatGPT account, it starts with the Plus plan. The commands come from the official Codex CLI page.

On a Mac or Linux, in Terminal:

curl -fsSL https://chatgpt.com/codex/install.sh | sh

On Windows, in a new PowerShell window:

powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex"

If you already use Homebrew or npm, the same page lists brew install --cask codex and npm install -g @openai/codex. Then check the install:

codex --version

If you see a version number, it’s installed. Go into your project folder (type cd with a space, drag the folder into the terminal window, press Enter) and type codex. The first time, choose Sign in with ChatGPT.

How do you add Codex to VS Code? (optional)

VS Code is Microsoft’s free code editor. Codex gets into it through OpenAI’s official extension, also from the Plus plan up (official extension page).

  1. Install VS Code from code.visualstudio.com.
  2. Open the extensions panel with ⌘⇧X on a Mac or Ctrl+Shift+X on Windows and search for Codex.
  3. Pick the extension published by OpenAI, with the identifier openai.chatgpt (its Marketplace page), and click Install.
  4. Click the Codex icon, or open the Command Palette and run Codex: Open Codex Sidebar. Sign in with the same ChatGPT account.

What do you do if something doesn’t work?

  • You don’t see Codex in the menu. First update the app. If you have the older ChatGPT app, now “ChatGPT Classic”, get the new one from chatgpt.com/download. On Free or Go, access may not have reached you yet; Plus includes it. Also check you’re in the desktop app: this menu isn’t on the ChatGPT website or in the phone app.
  • Codex works in the wrong folder. Open the right one with ⌘O / Ctrl+O and start a new chat there.
  • A permissions prompt appears. That’s normal. If it’s about a file in your project folder, approve. If it reaches outside the folder or you don’t understand it, decline and ask what it was trying to do. Stay on Ask for approval and avoid Full access.
  • The Microsoft Store won’t open. Use the winget command above.

Anything else: search the official help center, help.openai.com.

Frequently asked questions

Is Codex free to install?

The ChatGPT app is free to download. On the Free plan, Codex works only in the desktop app, and access is still rolling out. The terminal and VS Code need at least Plus.

Do I need to know how to code or use the terminal?

No. In the app you write what you want in plain words and check the result. The terminal and VS Code are optional.

Is there still a separate Codex app?

No. On 9 July 2026 it merged into the ChatGPT desktop app.

Should I install Codex or Claude Code?

It depends on the subscription you already have. The comparison is in Codex vs Claude Code; the other install is in how to install Claude Code.

What’s next

Module 00 of the Zero2App Codex course walks through this setup step by step. Modules 00 and 01 are free in full, with no card. The course has 14 modules and 8 labs in which you build “Subscriptions under control”. It costs €39, paid once, with 14 days to ask for a refund, and it exists in English and Romanian. See the Codex course, the pricing, what is Codex or the glossary.

Start the first Codex lesson, free

PricingTerms and conditionsPrivacyRefundsGuidesAbout
© 2026 Zero2App · Andrei Stici
Your data is stored on servers in the EU. What we keep and why is in the privacy policy; to have it deleted, write to contact@zero2app.com.
Claude and Claude Code are trademarks of Anthropic; ChatGPT and Codex are trademarks of OpenAI. Zero2App is not affiliated with Anthropic or OpenAI.