The Founder’s Guide:
How to Install Windows Subsystem for Linux 2 (WSL2)
The condensed tutorial with copy and paste code and screenshots
“The expanded version of this article uses concise explanations to help you learn what’s happening 💡”
Join the Windows Insider Program:
- Visit the official website
- Click “Register”
- Click “Sign In Now”
- Sign into Microsoft
- Check “I Accept the Terms of This Agreement”
- Click “Register Now”
- Click “Flight Now”
Select the Dev Channel:
- Click “Open Settings”
- Click “Get Started”
- Click “Link an Account”
- Sign into Microsoft
- Select “Dev Channel”
- Click “Confirm”
- Click “Restart Now”
Check the Windows Update:
- Press “⊞ Windows”
- Enter “Check for Updates” into the search bar
- Click “Check for Updates”
- Click “Check for Updates”
Open PowerShell:
- Press “⊞ Windows”
- Enter “PowerShell” into the search bar
- Click “Run as Administrator”
Enable WSL2:
- Copy the command from below these instructions
- Paste the command into PowerShell
- Press “Enter”
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
Check the Windows Update:
- Press “⊞ Windows”
- Enter “Check for Updates” into the search bar
- Click “Check for Updates”
- Click “Advanced Options”
- Click “Receive Updates for Other Microsoft Products”
- Click “←”
- Click “Check for Updates”
Enable the Virtual Machine Platform:
- Copy the command from below these instructions
- Paste the command into PowerShell
- Press “Enter”
- Restart the computer
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
Update the Kernel:
- Copy the command from below these instructions
- Paste the command into PowerShell
- Press “Enter”
wsl --update
Set the Default Version:
- Copy the command from below these instructions
- Paste the command into PowerShell
- Press “Enter”
wsl --set-default-version 2
Create the User Account:
- Enter a username into PowerShell
- Enter a password into PowerShell
- Reenter the password into PowerShell
“Hopefully, this article helped you get the 👯♀️🏆👯♀️, remember to subscribe to get more content 🏅”
Next Steps:
This article is part of a mini-series that helps readers set up everything they need to start learning about artificial intelligence, machine learning, deep learning, and or data science. It includes articles that contain instructions with copy and paste code and screenshots to help readers get the outcome as soon as possible. It also includes articles that contain instructions with explanations and screenshots to help readers learn about what’s happening.
Linux:
01. Install and Manage Multiple Python Versions
02. Install the NVIDIA CUDA Driver, Toolkit, cuDNN, and TensorRT
03. Install the Jupyter Notebook Server
04. Install Virtual Environments in Jupyter Notebook
05. Install the Python Environment for AI and Machine LearningWSL2:
01. Install Windows Subsystem for Linux 2
02. Install and Manage Multiple Python Versions
03. Install the NVIDIA CUDA Driver, Toolkit, cuDNN, and TensorRT
04. Install the Jupyter Notebook Server
05. Install Virtual Environments in Jupyter Notebook
06. Install the Python Environment for AI and Machine Learning
07. Install Ubuntu Desktop With a Graphical User Interface (Bonus)Windows 10:
01. Install and Manage Multiple Python Versions
02. Install the NVIDIA CUDA Driver, Toolkit, cuDNN, and TensorRT
03. Install the Jupyter Notebook Server
04. Install Virtual Environments in Jupyter Notebook
05. Install the Python Environment for AI and Machine LearningMac:
01. Install and Manage Multiple Python Versions
02. Install the Jupyter Notebook Server
03. Install Virtual Environments in Jupyter Notebook
04. Install the Python Environment for AI and Machine Learning