DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to use Codex inside VS Code, Cursor or the desktop app with Codex

Move from the terminal to Codex in your editor or the desktop app, with the same account.

Short answer: Install the CLI with npm install -g @openai/codex and sign in once with ChatGPT; then For your editor, install the Codex IDE extension in VS Code, Cursor or Windsurf as the README links; For a desktop experience, run codex app. All steps.

Who it is forA developer who likes Codex but would rather review edits inside the editor they already use.

The problemSwitching between a terminal agent and an editor makes it harder to follow what changed.

The outcomeCodex available in VS Code, Cursor or Windsurf, or as a desktop app, alongside the CLI.

What you need first

  • macOS, Linux or Windows
  • A ChatGPT Plus, Pro, Business, Edu or Enterprise plan, or an OpenAI API key (extra setup)
  • npm or Homebrew if you do not use the install script

Steps

  1. Install the CLI with npm install -g @openai/codex and sign in once with ChatGPT
  2. For your editor, install the Codex IDE extension in VS Code, Cursor or Windsurf as the README links
  3. For a desktop experience, run codex app
  4. Keep using codex in the terminal for scripted or remote work

Prompt for your agent

Set up openai/codex for me in <VS Code or Cursor> and as the desktop app with `codex app`, using my ChatGPT sign-in, then open <project> and ask it to <task> so I can compare the views.

Caveat.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for openai/codex and "Use Codex inside VS Code, Cursor or the desktop app"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer