You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Update content perf metadata field
* WSL-installation doc: corrected position of note (#1043)
Corrected note about conversion-time of WSL-upgrade, which was placed in the wrong section.
Solves #1042
* Fix wsl 2 update step title
Co-authored-by: Elmar Jansen <[email protected]>
Copy file name to clipboardExpand all lines: WSL/compare-versions.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,8 +60,8 @@ WSL 2 is only available in Windows 10, Version 1903, Build 18362 or higher. Chec
60
60
61
61
WSL 2 is a major overhaul of the underlying architecture and uses virtualization technology and a Linux kernel to enable new features. The primary goals of this update are to increase file system performance and add full system call compatibility.
62
62
63
-
-[WSL 2 system requirements](./install-win10.md#step-2---update-to-wsl-2)
64
-
-[Update from WSL 1 to WSL 2](./install-win10.md#step-2---update-to-wsl-2)
63
+
-[WSL 2 system requirements](./install-win10.md#step-2--check-requirements-for-running-wsl-2)
64
+
-[Update from WSL 1 to WSL 2](./install-win10.md#set-your-distribution-version-to-wsl-1-or-wsl-2)
65
65
-[Frequently Asked Questions about WSL 2](./wsl2-faq.md)
Copy file name to clipboardExpand all lines: WSL/install-manual.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ In these cases, while WSL itself is available, how do you download and install L
15
15
16
16
> Note: **Command-line shell environments including Cmd, PowerShell, and Linux/WSL distros are not permitted to run on Windows 10 S Mode**. This restriction exists in order to ensure the integrity and safety goals that S Mode delivers: Read [this post](https://blogs.msdn.microsoft.com/commandline/2017/05/18/will-linux-distros-run-on-windows-10-s/) for more information.
17
17
18
-
## Downloading distros
18
+
## Downloading distributions
19
19
20
20
If the Microsoft Store app is not available, you can download and manually install Linux distros by clicking these links:
21
21
*[Ubuntu 20.04](https://aka.ms/wslubuntu2004)
@@ -32,9 +32,11 @@ If the Microsoft Store app is not available, you can download and manually insta
32
32
This will cause the `<distro>.appx` packages to download to a folder of your choosing. Follow the [installation instructions](#installing-your-distro) to install your downloaded distro(s).
33
33
34
34
## Downloading distros via the command line
35
+
35
36
If you prefer, you can also download your preferred distro(s) via the command line:
36
37
37
38
### Download using PowerShell
39
+
38
40
To download distros using PowerShell, use the [Invoke-WebRequest](/powershell/module/microsoft.powershell.utility/invoke-webrequest) cmdlet. Here's a sample instruction to download Ubuntu 16.04.
39
41
40
42
```powershell
@@ -56,11 +58,12 @@ In the above example, `curl.exe` is executed (not just `curl`) to ensure that, i
56
58
> Note: Using `curl` might be preferable if you have to invoke/script download steps using Cmd shell and/or `.bat` / `.cmd` scripts.
57
59
58
60
## Installing your distro
61
+
59
62
If you're using Windows 10 you can install your distro with PowerShell. Simply navigate to folder containing the distro downloaded from above, and in that directory run the following command where `app_name` is the name of your distro .appx file.
60
63
```Powershell
61
64
Add-AppxPackage .\app_name.appx
62
65
```
63
66
64
67
If you are using Windows server you can find the install instructions on the [Windows Server](install-on-server.md) documentation page.
65
68
66
-
Once your distribution is installed, follow the normal instructions to [update to WSL 2](./install-win10.md#step-2---update-to-wsl-2) or [create a new user account and password](./user-support.md).
69
+
Once your distribution is installed, follow the normal instructions to * [Update from WSL 1 to WSL 2](./install-win10.md#set-your-distribution-version-to-wsl-1-or-wsl-2) or [create a new user account and password](./user-support.md).
We recommend now moving on to step #2, updating to WSL 2, but if you wish to only install WSL 1, you can now **restart** your machine and move on to [Step 6 - Install your Linux distribution of choice](./install-win10.md#step-6---install-your-linux-distribution-of-choice). To update to WSL 2, **wait to restart** your machine and move on to the next step.
69
69
70
-
## Step 2 - Update to WSL 2
70
+
## Step 2 - Check requirements for running WSL 2
71
71
72
72
To update to WSL 2, you must be running Windows 10.
73
73
74
-
### Requirements
75
-
76
74
- For x64 systems: **Version 1903** or higher, with **Build 18362** or higher.
77
75
- For ARM64 systems: **Version 2004** or higher, with **Build 19041** or higher.
78
76
- Builds lower than 18362 do not support WSL 2. Use the [Windows Update Assistant](https://www.microsoft.com/software-download/windows10) to update your version of Windows.
@@ -117,13 +115,6 @@ Open PowerShell and run this command to set WSL 2 as the default version when in
117
115
wsl --set-default-version 2
118
116
```
119
117
120
-
> [!NOTE]
121
-
> The update from WSL 1 to WSL 2 may take several minutes to complete depending on the size of your targeted distribution. If you are running an older (legacy) installation of WSL 1 from Windows 10 Anniversary Update or Creators Update, you may encounter an update error. Follow these instructions to [uninstall and remove any legacy distributions](./install-legacy.md#uninstallingremoving-the-legacy-distro).
122
-
>
123
-
> If `wsl --set-default-version` results as an invalid command, enter `wsl --help`. If the `--set-default-version` is not listed, it means that your OS doesn't support it and you need to update to version 1903, Build 18362 or higher.
124
-
>
125
-
> If you see this message after running the command: `WSL 2 requires an update to its kernel component. For information please visit https://aka.ms/wsl2kernel`. You still need to install the MSI Linux kernel update package.
126
-
127
118
## Step 6 - Install your Linux distribution of choice
128
119
129
120
1. Open the [Microsoft Store](https://aka.ms/wslstore) and select your favorite Linux distribution.
Make sure to replace `<distribution name>` with the actual name of your distribution and `<versionNumber>` with the number '1' or '2'. You can change back to WSL 1 at anytime by running the same command as above but replacing the '2' with a '1'.
183
174
175
+
> [!NOTE]
176
+
> The update from WSL 1 to WSL 2 may take several minutes to complete depending on the size of your targeted distribution. If you are running an older (legacy) installation of WSL 1 from Windows 10 Anniversary Update or Creators Update, you may encounter an update error. Follow these instructions to [uninstall and remove any legacy distributions](./install-legacy.md#uninstallingremoving-the-legacy-distro).
177
+
>
178
+
> If `wsl --set-default-version` results as an invalid command, enter `wsl --help`. If the `--set-default-version` is not listed, it means that your OS doesn't support it and you need to update to version 1903, Build 18362 or higher.
179
+
>
180
+
> If you see this message after running the command: `WSL 2 requires an update to its kernel component. For information please visit https://aka.ms/wsl2kernel`. You still need to install the MSI Linux kernel update package.
181
+
184
182
Additionally, if you want to make WSL 2 your default architecture you can do so with this command:
0 commit comments