Guide to install Windows Subsystem for Linux (WSL) on Windows 10


Want to run Linux alongside Windows without the need for any VM?. Here’s how to set it up:

Method 1: Installing WSL through Powershell(or Command Prompt):

Step 1: Execute the following command in Windows Powershell(Run it as Administrator):

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

Step 2: Install Ubuntu from Microsoft store

Step 3: Run the ubuntu app and give username and password

Method 2: Installing WSL using Control Panel

  1. Go to Control Panel and search for “program”

2. Click on Turn Windows features on or off

3. Scroll down till you find Windows Subsystem for Linux

4. Click on the checkbox and click OK

5. Go to Microsoft Store and install Ubuntu

6. Launch the Ubuntu app

7. Give username and password

Happy Development ✌