Requirements
- Windows 10 or 11 with WSL 2. WSL 1 isn’t supported.
- At least one installed distribution (for example, Ubuntu).
gitinstalled inside the distribution.
Start a WSL session
1
Pick a distribution
Start a new session in the Code tab and open the environment selector under the prompt box, or above it in the earlier layout. Your installed WSL 2 distributions appear under WSL. Pick one.
2
Choose a folder
The session starts in the distribution’s home directory. Use the folder picker to choose a project folder. Browsing happens inside the distribution, with Linux paths like
/home/you/project.3
Trust the folder
The first session in a folder shows the workspace trust dialog. You grant trust per distribution and folder. A folder you trust in one distribution isn’t trusted in another distribution or at the same path on Windows.
\\wsl.localhost\... folder from the normal folder picker, and it reopens inside that distribution.
What works in a WSL session
Parallel sessions, side chats, visual diff review, branch and pull request status, and worktrees all work, backed by the git and toolchain inside the distribution. “Open in editor” opens VS Code connected to the distribution through Remote - WSL. If a Desktop feature is unavailable or limited in a WSL session, check whether it’s one of these:- Terminal and connectors: your session may lack the integrated terminal, connectors, or both. See If the terminal or connectors are unavailable.
- Plugins: not available in WSL sessions
- File editing: you can view files in the file pane but can’t edit them there, so ask Claude to make the changes
- Attachments: if the + menu shows Add image in place of Add files or photos, you can attach only images. See Add files and context to prompts.
If the terminal or connectors are unavailable
You can’t turn on the integrated terminal or connectors for a WSL session yourself:- Claude account: the two features are rolling out separately. Select Help > Check for Updates…, and if a feature is still missing after you update, there’s nothing to do.
- Third-party provider: WSL sessions don’t get the terminal or connectors, and updating Desktop doesn’t change that