# How to get Codex on Mac, Windows or Linux

Source: https://appubot.com/guides/get-codex-on-mac-windows-linux
By Sarthak Gupta. Published 2026-11-25, updated 2026-11-25.

**The short answer:** OpenAI offers Codex in a few forms. On the desktop it is part of the ChatGPT desktop app, where you choose ChatGPT or Codex: download it from chatgpt.com/download for macOS or Windows, and OpenAI lists a Linux version in preview. The Codex CLI installs on macOS, Linux and Windows, and there is an extension for code editors. You sign in with your ChatGPT account. If you want Codex as bots for everyday work, AppuBot installs OpenAI’s Codex program for you with one button.

## Where do you download Codex?

| What | Runs on | Where to get it |
| --- | --- | --- |
| ChatGPT desktop app (choose Codex in it) | macOS and Windows; Linux in preview | [chatgpt.com/download](https://chatgpt.com/download/) |
| Codex CLI, for the terminal | macOS, Linux and Windows | [OpenAI’s CLI page](https://learn.chatgpt.com/docs/codex/cli) |
| Codex extension | VS Code and compatible editors | The editor’s extension marketplace |
| Codex on the web | A browser | [chatgpt.com/codex](https://chatgpt.com/codex) |

_From OpenAI’s documentation on the date under Sources. OpenAI’s page for the Codex app is now its ChatGPT desktop app page: Codex is a choice inside that app._

## Codex on a Mac

Download the ChatGPT desktop app for macOS and choose Codex in it. For the terminal, OpenAI’s CLI page has a standalone installer for macOS and Linux, and lists Homebrew (brew install --cask codex) and npm (npm install -g @openai/codex) as other ways.

## Codex on Windows

OpenAI says you can use Codex on Windows "with the native ChatGPT desktop app, the CLI, or the IDE extension", and that the app can run natively in PowerShell with a Windows sandbox, without needing WSL or a virtual machine. The CLI has its own installer for PowerShell.

## Codex on Linux

OpenAI lists the ChatGPT desktop app for Linux as a preview, with .deb and .rpm packages for x64 and ARM64; its Linux page names the distributions and versions it supports. The CLI’s standalone installer covers Linux as well.

## How do you sign in?

OpenAI gives two ways. **Sign in with ChatGPT** uses the Codex that comes with your plan. **Sign in with an API key** is billed per use at API prices and doesn’t draw on your ChatGPT allowance. OpenAI lists Codex in the ChatGPT Free, Go, Plus, Pro, Business, Edu and Enterprise plans, with limits that vary by plan. More in [which plans include Claude Code and Codex](https://appubot.com/guides/use-your-claude-or-chatgpt-plan).

## The one-button way: let AppuBot install it

AppuBot is a free, open source desktop app that runs Codex as bots: each has a name, a job and a memory, works in your apps and answers on Telegram. It runs OpenAI’s own Codex program, and it can fetch that program for you.

1. [Download AppuBot](https://appubot.com/download) for Mac, Windows or Linux and open it.
2. Open Settings › Agents. If the Codex row says "Not installed", press **Install**: AppuBot downloads OpenAI’s own Codex program for your computer. No Node, npm, WSL or terminal is needed.
3. Press **Log in** on the Codex row. AppuBot shows a link and a one-time code: open the link, sign in with your ChatGPT account and enter the code.
4. Make a bot and pick a Codex model for it in the model picker.

_Already have Codex installed and signed in? AppuBot finds it, and you skip the middle two steps. For a copy it installed, AppuBot also checks for new Codex versions and shows an Update button when there is one._

## Questions

### Is there a Codex app for Mac?

Yes: the ChatGPT desktop app for macOS, where you choose Codex. OpenAI’s CLI and editor extension run on a Mac too.

### Is there a Codex app for Windows?

Yes. OpenAI offers the ChatGPT desktop app for Windows with Codex in it, and says it can run natively without WSL.

### Is Codex free?

Using Codex needs a ChatGPT account. OpenAI lists Codex on its plans from Free and Go up, on those two in the desktop app and subject to rollout, with limits that vary by plan and more on paid plans.

### Do I need Codex installed before I install AppuBot?

No. Press Install on the Codex row in Settings › Agents and AppuBot fetches it.

### Is AppuBot the official Codex app?

No. AppuBot is an independent app that runs OpenAI’s Codex with your own ChatGPT sign-in. The official apps are OpenAI’s.

## Sources

Facts about other products as of 2026-11-25.

- [OpenAI: ChatGPT desktop app](https://learn.chatgpt.com/docs/app)
- [OpenAI: quickstart](https://learn.chatgpt.com/docs/quickstart)
- [OpenAI: Codex CLI](https://learn.chatgpt.com/docs/codex/cli)
- [OpenAI: Codex on Windows](https://learn.chatgpt.com/docs/windows/windows-sandbox)
- [OpenAI: ChatGPT desktop app for Linux](https://learn.chatgpt.com/docs/linux/linux-app)
- [OpenAI: Codex sign-in](https://learn.chatgpt.com/docs/auth)
- [OpenAI: Codex pricing and plans](https://learn.chatgpt.com/docs/pricing)
