add wsl and wsl2
[webi-installers/.git] / wsl / README.md
1 ---
2 title: WSL
3 homepage: https://docs.microsoft.com/en-us/windows/wsl/install-win10
4 tagline: |
5   WSL (Windows Subsystem for Linux) is required for running Microsoft Linux.
6 ---
7
8 ## Cheat Sheet
9
10 > WSL (v1) is not emulation, but rather a Linux syscall wrapper around the
11 > Windows Kernel.
12
13 After installing WSL and **Rebooting** you will be able to install Linux
14 variants from the Windows 10 Store:
15
16 - [Ubuntu Linux 20.04](https://www.microsoft.com/store/apps/9n6svws3rx71)
17 - [Alpine WSL](https://www.microsoft.com/store/apps/9p804crf0395)
18
19 ### Admin Privileges Required
20
21 It is not possible to install WSL without Admin privileges.
22
23 You _will_ need to allow the installer to run as Admin when asked.
24
25 ### Reboot Required
26
27 You will not be able to use WSL without rebooting.
28
29 ### Raw PowerShell Command
30
31 ```pwsh
32 powershell -Command "Start-Process cmd -Verb RunAs -ArgumentList '/c cd /d %CD% && dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart'"
33 ```
34
35 ## References
36
37 - https://docs.microsoft.com/en-us/windows/wsl/install-win10