Follow either the written instructions or video tutorial below to install WLS2.
During this process, select "Ubuntu 20.04" as your Linux version.
See our overview below for a summary with screenshots.
Written Instructions: https://docs.microsoft.com/en-us/windows/wsl/install-win10
Video Tutorial: https://www.youtube.com/watch?v=D7Em1wjMiak (commands in the description)
Enable the Windows Subsystem for Linux
Ensure you meet the requirements for WSL2
Enable the Virtual Machine feature in Windows (see screenshot below)
Download the WSL2 update package
Set WSL2 as your default Linux system
Open Microsoft store, search for Ubuntu 20.04, and install it
Launch the terminal and follow the prompt to create a new username/password (see screenshot below).
Note: Copy these commands and then paste into WLS2 by right-clicking on the terminal.
Enter the following commands into your Ubuntu terminal:
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash # Download and installsource ~/.profile # Reload system environmentnvm install lts/erbium
In order to access your WLS2 file directory, run the following command in WLS2:
This will allow you to browse WLS2 as if it were another computer on a local network.