Skip to content
LinkedInX

Getting Started with Codex

Target audience: Developers deciding whether to use Codex from the CLI, IDE, web, or app
Prerequisites: Must have read Core ChatGPT Features

Codex can be used from several entry points while staying connected to the same ChatGPT account. The important question is not just what the interface looks like. It is where the code is read, where commands run, and how much work you delegate to Codex.

OpenAI’s Codex manual describes Codex app, Codex CLI, Codex IDE extension, and Codex web as the main entry points. This page reflects the official materials checked on June 27, 2026 and explains the practical differences for beginners.[1]

Comparison

Entry pointExecution locationBest fitWatch out for
Codex CLILocal terminalFile edits, tests, diffs, verification[2]Command permissions and working tree management
IDE extensionLocal IDEFixing code in context, completion, reviewIDE state and repository state must stay clear
Codex webCloudGitHub issues, implementation, PRs, code review[3]Repository connection and cloud permissions
Codex appLocal or cloudMulti-agent work, long-running tasks, workflow managementOS availability, limits, and workspace settings
ChatGPT mobile / web integrationChatGPT surfacesLightweight instructions and review while away from the deskSerious verification still needs CLI or web workflows
This table scrolls horizontally. Keyboard users can focus the table and use the left and right arrow keys.

Codex CLI

Codex CLI is the terminal entry point. It reads a local working tree and can edit files, run commands, execute tests, and inspect diffs.

Good fits:

  • Small fixes in an existing repository
  • Investigating test failures
  • Documentation updates
  • Refactoring
  • Reviewing changes with git diff

The CLI is powerful because it can run real commands in your local environment. Destructive commands, secrets, external writes, and production operations need clear approval rules.

Codex IDE Extension

The Codex IDE extension brings Codex into IDEs such as VS Code, Cursor, and Windsurf. You can give instructions while looking at the active file, selection, errors, and project structure.

Good fits:

  • Explaining the code you are editing
  • Function-level changes
  • Adding tests
  • Fixing type errors
  • Addressing review comments

The IDE extension is best for pair-programming style work where the developer keeps the code visible and Codex helps nearby.

Codex Web

Codex web connects to GitHub repositories and delegates work in a cloud environment. It is useful for turning issues into implementation, creating diffs, and opening pull requests.

Good fits:

  • Implementing from GitHub issues
  • Multi-file changes
  • Code review
  • Pull request creation
  • Parallel cloud tasks

For Codex web, GitHub connection and repository permissions matter. Confirm which repositories are accessible, whether PRs can be opened, and whether CI can run.

Codex App

The Codex app is an app-based entry point for managing agent work. OpenAI describes it as a command center for multi-agent and long-running coding workflows.

Good fits:

  • Running multiple tasks in parallel
  • Tracking long implementation work
  • Switching between local and cloud workflows
  • Using skills and workflows for repeatable tasks

OS availability, plans, and limits can change. Check the official Codex page before rollout.

Local vs. Cloud Work

PerspectiveLocal workCloud work
Main entry pointsCLI, IDE extension, local app workflowsCodex web, cloud app workflows
Code locationYour machineConnected cloud environment
Permission modelFiles, commands, network, approvalsGitHub permissions, cloud execution, PR rights
Best fitWork you want to inspect locallyDelegation, parallel tasks, review, PRs
This table scrolls horizontally. Keyboard users can focus the table and use the left and right arrow keys.

How To Choose

  1. Use CLI when you want to work in a local repository
  2. Use the IDE extension when you want help while reading and editing code
  3. Use Codex web when you want GitHub-connected cloud delegation
  4. Use the Codex app when you want to manage multi-agent or long-running work
  5. Use ChatGPT web or mobile for lightweight instructions and review

Summary

  • Codex connects to the same ChatGPT account across CLI, IDE, web, and app surfaces
  • CLI and IDE are strongest for local work, while web is strongest for GitHub-connected cloud work
  • The app is useful for multi-agent and longer workflows
  • Choose an entry point by deciding where code lives, where commands run, how review works, and how PRs are created

Use the official Codex pages for the latest surface names, setup details, and availability.[1]

References

  1. OpenAI, Codex documentation
  2. OpenAI, Codex CLI
  3. OpenAI, Codex web

For the latest releases and updates, check the official website and official documentation.

Quiz