{
 "schema_version": 1,
 "generated": "2026-10-29",
 "id": "openai-codex--use-codex-in-vs-code-cursor-or-the-desktop-app",
 "repo": "openai/codex",
 "repo_url": "https://github.com/openai/codex",
 "repo_slug": "openai-codex",
 "title": "Use Codex inside VS Code, Cursor or the desktop app",
 "page_title": "How to use Codex inside VS Code, Cursor or the desktop app with Codex",
 "summary": "Move from the terminal to Codex in your editor or the desktop app, with the same account.",
 "who": "A developer who likes Codex but would rather review edits inside the editor they already use.",
 "problem": "Switching between a terminal agent and an editor makes it harder to follow what changed.",
 "outcome": "Codex available in VS Code, Cursor or Windsurf, or as a desktop app, alongside the CLI.",
 "steps": [
  "Install the CLI with `npm install -g @openai/codex` and sign in once with ChatGPT",
  "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`",
  "Keep using `codex` in the terminal for scripted or remote work"
 ],
 "agent_prompt": "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.",
 "agents": [
  "codex",
  "cursor"
 ],
 "difficulty": "Beginner",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "rust",
 "requirements": [
  "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/openai-codex/use-codex-in-vs-code-cursor-or-the-desktop-app/",
 "md": "https://dedupedai.com/use-cases/openai-codex/use-codex-in-vs-code-cursor-or-the-desktop-app/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/openai-codex--use-codex-in-vs-code-cursor-or-the-desktop-app.json",
 "api_version": "v1"
}
