Home

Set Up VS Code for Claude Code on WSL

You’ve installed WSL and Claude Code on your Windows machine - now you want a visual editor to work with your code. VS Code bridges the gap between Windows and your Linux environment, letting you edit files visually while running Claude Code in the integrated terminal. Think of VS Code as a window into your Linux world.

Key Concepts

What You’ll Need

Step 1: Create a Project Folder

Step 2: Start VS Code

Step 3: Install the WSL Extension

Step 4: Connect VS Code to WSL

The first time you connect, VS Code installs a small server in WSL. This takes about 30 seconds.

Step 5: Open the Folder in VS Code

Step 6: Start Claude Code

Step 7: Test the Workflow

Reopening Claude in VS Code Later

After closing VS Code, here’s how to get back to your WSL projects:

VS Code remembers your recent folders, so Option A with Open Recent is usually the quickest.

Next Steps

Troubleshooting

Workflow Overview


Created by Steven Ge on December 10, 2025.