Skip to content

factor-bytes/EnableWSLonWindows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 

Repository files navigation

Enable WSL on Windows 10 or 11

  1. Ensure WSL (Windows Subsystem for Linux) check box is checked under "Control Panel > Programs > Turn Windows feature On or Off". If not check the check nox and save. This will enable WSL.

  2. Open PowerShell in administrator mode and run the following comand

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

Restart your system

  1. Enable virtual Machine. Run the following command in powershell
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
  1. Download and install WSL kernel update https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi

  2. Set WSL2 as default. Run following command

wsl --set-default-version 2

List all Linux versions installed

wsl --list --verbose

Setting a specific verion

wsl --set-version <distribution name> <versionNumber>
  1. Run Linux

About

Enable WSL on windows 10 >

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published