This guide will walk you through setting up your development environment with Visual Studio Code and our primary AI coding assistants: Claude Code and Codex.
Install Visual Studio Code

Download VS Code
Visit code.visualstudio.com/Download and download the appropriate version for your operating system:
- macOS: Download
.dmgfor Apple Silicon (M1/M2/M3) or Intel - Windows: Download User or System installer
- Linux: Choose
.deb(Debian/Ubuntu) or.rpm(Fedora/RHEL)
Install VS Code
macOS:
- Open the downloaded
.dmgfile - Drag VS Code to the Applications folder
- Launch VS Code from Applications
- Run the downloaded installer
- Follow the installation wizard
- Check “Add to PATH” during installation (important!)
- Launch VS Code from Start menu
Claude Code Setup

- VS Code Extension (Recommended)
- Terminal/CLI Installation
Install Claude Code Extension
Open Extensions
- Open VS Code
- Click the Extensions icon in the sidebar (or press
Cmd+Shift+X/Ctrl+Shift+X) - Search for “Claude Code”
Install Extension
- Find the extension published by Anthropic (official)
- Click Install
- Wait for installation to complete
- A new ⚡ (Spark) icon will appear in your sidebar
Requirements
Quick Start
Once installed:- Open any project folder in VS Code
- Click the ⚡ Spark icon in the sidebar
- Type your coding request in natural language
- Watch Claude Code edit your files in real-time
- Press
Esctwice to rewind changes if needed
Key Features
- Real-time change visualization - See edits inline with diffs
- Checkpoint system - Auto-saves state before changes
- Natural language coding - Describe what you want, Claude builds it
- Git integration - Handles commits, branches, and workflows
Troubleshooting Claude Code
"No available IDEs detected" Error
"No available IDEs detected" Error
Common with WSL users:
- Navigate to your project inside WSL:
- Open VS Code from WSL:
- Run Claude Code in the integrated terminal
Extension Installation Fails
Extension Installation Fails
Permission issues:
- Download the
.vsixfile from VS Code Marketplace - In VS Code: View → Extensions
- Click
...menu → “Install from VSIX…” - Select the downloaded file
Wrong Extension Installed
Wrong Extension Installed
Make sure it’s official:
- Publisher must be “Anthropic”
- Avoid knock-off extensions
- Uninstall unofficial versions first
Codex Setup

- VS Code Extension
- Terminal/CLI Installation
- IDE Compatibility
Install Codex Extension
Open Extensions Marketplace
- Open VS Code
- Click Extensions icon (or
Cmd+Shift+X/Ctrl+Shift+X) - Search for “Codex – OpenAI’s coding agent”
Install Extension
- Find the extension published by OpenAI (official)
- Click Install
- A new Codex icon will appear in the top-right activity bar
Requirements
Quick Start
- Click the Codex icon in the activity bar
- Type your coding request or question
- Codex can:
- Read and understand your codebase
- Modify code across multiple files
- Run commands and tests
- Explain complex code
- Debug issues
Key Features (2025)
- GPT-5-Codex - Optimized for agentic coding
- Read, modify, and run code - Full development lifecycle
- Long-running tasks - Handles complex, multi-step work
- Real-world engineering focus - Trained on production workflows
Troubleshooting Codex
Windows: Codex Not Working
Windows: Codex Not Working
Use WSL for best experience:
- Install WSL:
- Restart computer
- Open Ubuntu/WSL terminal
- Install Codex in WSL:
- Run from WSL terminal or VS Code WSL remote
Authentication Fails
Authentication Fails
Clear auth and retry:Check subscription:
- Requires ChatGPT Plus, Pro, Team, or Enterprise
- Free tier does NOT work with Codex
- Verify at platform.openai.com
Config Issues
Config Issues
Reset configuration:Config location:
- macOS/Linux:
~/.codex/config.toml - Windows (WSL):
~/.codex/config.toml - Windows (native):
%USERPROFILE%\.codex\config.toml
Quick Comparison
| Feature | Claude Code | Codex |
|---|---|---|
| Publisher | Anthropic | OpenAI |
| Models | Claude Sonnet 4, Opus 4 | GPT-5-Codex |
| VS Code Extension | ✅ Yes | ✅ Yes |
| CLI | ✅ Yes | ✅ Yes |
| Subscription Required | Claude Pro/Max/Team/Enterprise | ChatGPT Plus/Pro/Team/Enterprise |
| Windows Support | ⚠️ Limited (WSL recommended) | ⚠️ Experimental (WSL recommended) |
| Real-time Diffs | ✅ Yes | ✅ Yes |
| Git Integration | ✅ Yes | ✅ Yes |
| MCP Servers | ✅ Supported | ✅ Supported |
| Best For | Fast iterations, pair programming | Long-running tasks, agentic coding |
Recommended Workflow
Install Both Tools
Install both Claude Code and Codex to get the best of both worlds:
- Claude Code for quick iterations and pair programming
- Codex for complex, long-running tasks
Choose Based on Task
Use Claude Code when:
- Quick feature additions
- Real-time collaboration
- Explaining code
- Simple refactoring
- Complex architecture changes
- Multi-file refactoring
- Debugging hard issues
- CI/CD integration
Next Steps
Master AI Workflows
Learn advanced AI development workflows
Start with Expand AI
Apply your setup to your first project
Prompting Guide
Write better prompts for AI coding
Tech Stack
Explore our tech stack documentation

