@@ -41,18 +41,44 @@ Ubuntu will then be installed on your machine. Once installed, you can either la
41
41
It is possible to install the same Ubuntu versions available on the Microsoft Store directly from the command line.
42
42
In a PowerShell terminal, you can run ` wsl --list --online ` to see all available distros and versions.
43
43
44
- ![ image|690x388] ( https://github.com/ubuntu/WSL/blob/main/docs/guides/assets/install-ubuntu-wsl2/wsl-list-online.png?raw=true )
44
+ ``` text
45
+ The following is a list of valid distributions that can be installed.
46
+ The default distribution is denoted by '*'.
47
+ Install using 'wsl --install -d <Distro>'.
48
+
49
+ NAME FRIENDLY NAME
50
+ * Ubuntu Ubuntu
51
+ Debian Debian GNU/Linux
52
+ kali-linux Kali Linux Rolling
53
+ Ubuntu-18.04 Ubuntu 18.04 LTS
54
+ Ubuntu-20.04 Ubuntu 20.04 LTS
55
+ Ubuntu-22.04 Ubuntu 22.04 LTS
56
+ Ubuntu-24.04 Ubuntu 24.04 LTS
57
+ ...
58
+
59
+ ```
60
+
61
+ Your list may be different once new distributions become available.
45
62
46
63
You can install the version using its NAME:
47
64
``` text
48
65
wsl --install -d Ubuntu-24.04
49
66
```
50
67
51
- ![ image|690x388] ( https://github.com/ubuntu/WSL/blob/main/docs/guides/assets/install-ubuntu-wsl2/installing.png?raw=true )
68
+ You'll see the installation progress in the terminal.
69
+
70
+ ``` text
71
+ Installing: Ubuntu 24.04 LTS
72
+ [==========================72,0%========== ]
73
+ ```
52
74
53
75
Use ` wsl -l -v ` to see all your currently installed distros and the version of WSL they are using:
54
76
55
- ![ image|690x311] ( https://github.com/ubuntu/WSL/blob/main/docs/guides/assets/install-ubuntu-wsl2/wsl-l-v.png?raw=true?raw=true )
77
+ ``` text
78
+ NAME STATE VERSION
79
+ Ubuntu-20.04 Stopped 2
80
+ * Ubuntu-24.04 Stopped 2
81
+ ```
56
82
57
83
### Method 3: Winget package manager
58
84
0 commit comments