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
Copy file name to clipboardExpand all lines: WSL/install-win10.md
+40Lines changed: 40 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,11 +16,51 @@ There are two options available for installing Windows Subsystem for Linux (WSL)
16
16
The `wsl --install` simplified install command requires that you join the [Windows Insiders Program](https://insider.windows.com/getting-started) and install a preview build of Windows 10 (OS build 20262 or higher), but eliminates the need to follow the manual install steps. All you need to do is open a command window with administrator privileges and run `wsl --install`, after a restart you will be ready to use WSL. [Click here to learn more about this command](#simplified-installation-for-windows-insiders).
17
17
18
18
-**[Manual install](#manual-installation-steps)**: Follow the six steps listed below.
19
+
<<<<<<< HEAD
19
20
20
21
The manual install steps for WSL are listed below and can be used to install Linux on any version of Windows 10.
21
22
22
23
## Manual Installation Steps
23
24
25
+
=======
26
+
27
+
The manual install steps for WSL are listed below and can be used to install Linux on any version of Windows 10.
28
+
29
+
## Simplified Installation for Windows Insiders
30
+
31
+
The installation process for Windows Subsystem for Linux has been significantly improved in the latest Windows Insiders preview builds of Windows 10, replacing the manual steps below with a single command.
32
+
33
+
In order to use the `wsl --install` simplified install command, you must:
34
+
35
+
- Join the [Windows Insiders Program](https://insider.windows.com/getting-started)
36
+
- Install a preview build of Windows 10 (OS build 20262 or higher).
37
+
- Open a command line windows with Administrator privileges
38
+
39
+
Once those requirements are met, to install WSL:
40
+
41
+
- Enter this command in the command line you've opened in Admin mode: `wsl.exe --install`
42
+
- Restart your machine
43
+
44
+
The first time you launch a newly installed Linux distribution, a console window will open and you'll be asked to wait for files to de-compress and be stored on your PC. All future launches should take less than a second.
45
+
46
+
You will then need to [create a user account and password for your new Linux distribution](./user-support.md).
47
+
48
+
**CONGRATULATIONS! You've successfully installed and set up a Linux distribution that is completely integrated with your Windows operating system!**
49
+
50
+
The --install command performs the following actions:
51
+
52
+
- Enables the optional WSL and Virtual Machine Platform components
53
+
- Downloads and installs the latest Linux kernel
54
+
- Sets WSL 2 as the default
55
+
- Downloads and installs a Linux distribution *(reboot may be required)*
56
+
57
+
By default, the installed Linux distribution will be Ubuntu. This can be changed using `wsl --install -d <Distribution Name>`. *(Replacing `<Distribution Name>` with the name of your desired distribution.)* Additional Linux distributions may be added to your machine after the initial install using the `wsl --install -d <Distribution Name>` command.
58
+
59
+
To see a list of available Linux distributions, enter `wsl --list --online`.
60
+
61
+
## Manual Installation Steps
62
+
63
+
>>>>>>> craig-install-fork-v2
24
64
If you are not on a Windows Insiders build, the features required for WSL will need to be enabled manually following the steps below.
25
65
26
66
## Step 1 - Enable the Windows Subsystem for Linux
0 commit comments