We highly recommend all Windows users to use the Windows Subsystem for Linux version 2 (latest version).
In order to install the Windows Subsystem for Linux, you need to be running Windows version 2004 or later. Make sure your Windows computer is up to date.
- Search for
Turn Windows features on or offin the search bar.
- Make sure
Virtual Machine Platformand
Windows Subsystem for Linuxboxes are enabled.
OKand reboot your computer when prompted to do so.
- After reboot, go to the Windows store and search for
Ubuntu-20.04or whatever version of Linux you wish to use. (We recommend
- Now open up
Powershellas an admin user and run the command
wsl --set-version <distro> 2in order to update
wslto the latest version which, at the time of writing, is version 2.
<distro>refers to the Linux distribution that you decided to use with
wsl; in our example, it was
- Finally, open up the Linux distribution and continue the installation steps we have for Linux.
Windows Subsystem for Linux 2 has much faster performance, especially when running commands like
npm install (OR
yarn install). If you have any trouble with the steps above, please check out this video for another helpful guide.