Step 2: Install VS Code and Related Software on Windows 10 After the WSL installation completes, install Ubuntu 20.04 from Windows Store. To setup WSL2 on Windows 10, follow the instructions: Windows Subsystem for Linux Installation Guide for Windows 10. If your Windows 10 is newer than 1903 Build 18362, using WSL2 is highly recommended. WSL2 not only offers increased file IO performance but also provides full system call compatibility.
The latest WSL version, WSL2, is built with a full Linux kernel and is serviced by Windows updates.