Remote development in WSL

This tutorial walks you through enabling Windows Subsystem for Linux (WSL) and running Visual Studio Code in WSL using the Remote - WSL extension.


You need Visual Studio Code installed.

Install the extension

The Remote - WSL extension enables you to run Visual Studio Code within the Windows Subsystem for Linux (WSL).

Install the Remote - WSL extension

Remote - WSL extension

Prerequisite check

With the Remote - WSL extension installed, you will see a new Status bar item at the far left.

Remote Status bar item

The Remote Status bar item can quickly show you in which context VS Code is running (local or remote) and clicking on the item will bring up the Remote - WSL commands.

Remote - WSL commands

I've installed the Remote - WSL extension