Install WSL 2 + Ubuntu 20.04 LTS on Windows 10 and open Visual Studio Code from the terminal

The purpose of this article is to list the steps to install WSL 2 + Ubuntu on windows 10 and open VS Code form the terminal.

WSL — Windows Subsystem for Linux is a feature of the Windows operating system that enables you to run a Linux file system, along with Linux command-line tools

To install WSL 2 on Windows 10, your system type should be “64-bit operating system, x64-based processor”.

  1. Press the Windows Key + X to open the power user menu and click on system.
  2. You should be able to see your system type under device specifications.

Or open PowerShell and run command: systeminfo | find “System Type”

For x64 systems: Windows Version 1903 or higher, with Build 18362 or higher is required.

To check your version and build number, select Windows logo key + R, type winver, select OK

Windows Version Sample

How to Install?

First and foremost enable the “Windows Subsystem for Linux” feature on Windows. This step can be done manually by using…

--

--