Using CLI (command line interface)

This requires latest version of windows.

Open up the terminal, paste this command and its done !!! ๐Ÿ˜

wsl --install

Using GUI (graphical user interface).

Open the windows start menu and search Turn Windows Features on and off.

Example Image

Turn on Virtual Machine Platform, Windows Subsystem for Linux and click OK

Example Image

Wait for some time and this will enable necessary features.

You might need to restart your computer before you can start using wsl.