mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-02-14 09:39:51 +00:00
title, homepage, tagline
| title | homepage | tagline |
|---|---|---|
| WSL 1 | https://docs.microsoft.com/en-us/windows/wsl/install-win10 | WSL 1 (Windows Subsystem for Linux) is required for running Microsoft Linux in Windows Terminal. |
Read Carefully!
- WSL is a system service which requires Admin privileges to install.
- A System Reboot is required before WSL can be used.
Cheat Sheet
WSL 1 (also known as Bash for Windows) allows you to run most Linux applications directly from within Windows. This is NOT emulation, NOR virtualization, but rather a a Linux syscall wrapper around the Windows Kernel.
This will install WSL 1 ONLY.
Most people want WSL 1 + WSL 2 + Linux.
(WSL 2 is NOT a replacement for WSL 1, it's just another layer of WSL)
See the Full Cheat Sheet at https://webinstall.dev/wsl.
How to Install Linux
Once WSL is installed you can download Linux from the Windows Store. We recommend:
How to Switch to WSL 1
To set WSL 1 as the default:
wsl --set-default-version 1
To set WSL 1 for a specific Linux installation:
- List all installed Linux versions
wsl --list - Set the desired version to WSL 2 with
--set-version. For example:wsl --set-version Ubuntu-20.04 1
How to Install WSL 1 with PowerShell
This installer uses this command to install WSL 1
powershell -Command "Start-Process cmd -Verb RunAs -ArgumentList '/c cd /d %CD% && dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart'"