Windows Pre-Install
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 off
in the search bar. - Make sure
Virtual Machine Platform
andWindows Subsystem for Linux
boxes are enabled. - Click
OK
and reboot your computer when prompted to do so. - After reboot, go to the Windows store and search for
Ubuntu-20.04
or whatever version of Linux you wish to use. (We recommendUbuntu-20.04
.) - Now open up
Powershell
as an admin user and run the commandwsl --set-version <distro> 2
in order to updatewsl
to the latest version which, at the time of writing, is version 2.<distro>
refers to the Linux distribution that you decided to use withwsl
; in our example, it wasUbuntu-20.04
. - 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.