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
Pick a distribution
Start a new session in the Code tab and open the environment picker. Your installed WSL 2 distributions appear in a WSL section. Pick one.
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.\\wsl.localhost\... folder from the normal folder picker, and it reopens inside that distribution.
Folders you’ve used recently appear in the picker per distribution, so reconnecting to a project is one click.
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. A few features aren’t available in WSL sessions yet: the integrated terminal, connectors and plugins, session forking, the file browser pane, and file suggestions when you type@ in the composer.