Skip to content

Commit c2c051c

Browse files
authored
Small tweaks for finalisation
I'm adding a few small tweaks including: - Use bold for reference to Get button - Add spacing between text and codeblocks - Remove unneeded colon - Very minor rewording
1 parent 9d6aa10 commit c2c051c

File tree

1 file changed

+19
-13
lines changed

1 file changed

+19
-13
lines changed

wsl/how-to/install-ubuntu-wsl2.md

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@
66
* How to enable and install WSL on Windows 10 and Windows 11
77
* How to install `Ubuntu 24.04 LTS` using the Microsoft Store, WSL commands or the Winget package manager
88

9-
## What you will need:
9+
## What you will need
1010

1111
* Windows 10 or 11 running on either a physical device or virtual machine
1212
* All of the latest Windows updates installed
1313

1414
## Install WSL
1515

1616
You can install WSL from the command line. Open a PowerShell prompt as an Administrator (we recommend using [Windows Terminal](https://github.com/microsoft/terminal?tab=readme-ov-file#installing-and-running-windows-terminal)) and run:
17+
1718
```text
1819
wsl --install
1920
```
@@ -22,24 +23,24 @@ This command will enable the features necessary to run WSL and also install the
2223

2324
## Install Ubuntu WSL
2425

25-
WSL supports a variety of Linux distributions including the latest Ubuntu LTS release. Check out [the documentation](../reference/distributions.md) to see which one you prefer. We'll be using `Ubuntu 24.04 LTS` as the example.
26+
WSL supports a variety of Linux distributions including the latest Ubuntu LTS release. Check out [the documentation](../reference/distributions.md) to see which one you prefer.
2627

2728
There are multiple ways of installing distros on WSL, here we show three: Microsoft Store, WSL commands and the Winget package manager. The result is the same regardless of the method.
2829

2930
### Method 1: Microsoft Store
3031

31-
Find the distribution you prefer on the Microsoft Store and then select `Get`.
32+
Find the distribution you prefer on the Microsoft Store and then click **Get**.
3233

3334
![|624x489](https://github.com/ubuntu/WSL/blob/main/docs/guides/assets/install-ubuntu-wsl2/choose-distribution.png?raw=true)
3435

35-
Ubuntu will then be installed on your machine. Once installed, you can either launch the application directly from the Store or search for Ubuntu in your Windows search bar.
36+
Ubuntu will then be installed on your machine. Once installed, you can either launch the application directly from the Microsoft Store or search for Ubuntu in your Windows search bar.
3637

3738
![|624x580](https://github.com/ubuntu/WSL/blob/main/docs/guides/assets/install-ubuntu-wsl2/search-ubuntu-windows.png?raw=true)
3839

3940
### Method 2: WSL commands
4041

4142
It is possible to install the same Ubuntu versions available on the Microsoft Store directly from the command line.
42-
In a PowerShell terminal, you can run `wsl --list --online` to see all available distros and versions.
43+
In a PowerShell terminal, you can run `wsl --list --online` to see an output with all available distros and versions:
4344

4445
```text
4546
The following is a list of valid distributions that can be installed.
@@ -60,12 +61,13 @@ Install using 'wsl --install -d <Distro>'.
6061

6162
Your list may be different once new distributions become available.
6263

63-
You can install the version using its NAME:
64+
You can install a version using a NAME from the output:
65+
6466
```text
6567
wsl --install -d Ubuntu-24.04
6668
```
6769

68-
You'll see the installation progress in the terminal.
70+
You'll see an indicator of the installation progress in the terminal:
6971

7072
```text
7173
Installing: Ubuntu 24.04 LTS
@@ -80,21 +82,24 @@ Use `wsl -l -v` to see all your currently installed distros and the version of W
8082
* Ubuntu-24.04 Stopped 2
8183
```
8284

83-
### Method 3: Winget package manager
85+
### Method 3: Win package manager
8486

8587
Open a PowerShell terminal and type:
88+
8689
```text
87-
winget show --name Ubuntu --source msstore
90+
win show --name Ubuntu --source msstore
8891
```
8992

9093
You'll see a list of available distros and their Ids. Choose the one you prefer and install it. For instance, for `Ubuntu 24.04 LTS`:
94+
9195
```text
92-
winget install --Id "9NZ3KLHXDJP5" --source msstore
96+
win install --Id "9NZ3KLHXDJP5" --source msstore
9397
```
9498

9599
You'll be prompted to accept the source and package agreements before installing. You need to accept them in order to proceed.
96100

97101
Check out [the documentation](../reference/distributions.md) to see which executable matches your application and run it.
102+
98103
```text
99104
ubuntu.exe
100105
```
@@ -105,16 +110,17 @@ Congratulations, you now have an Ubuntu terminal running on your Windows machine
105110

106111
Once it has finished its initial setup, you will be prompted to create a username and password. They don't need to match your Windows user credentials.
107112

108-
Finally, it’s always good practice to install the latest updates with the following commands, entering your password when prompted.
113+
Finally, it’s always good practice to install the latest updates with the following commands, entering your password when prompted:
114+
109115
```text
110116
sudo apt update
111117
sudo apt full-upgrade -y
112118
```
113119
## Enjoy Ubuntu on WSL!
114120

115-
In this guide, we’ve shown you how to install WSL and Ubuntu on Windows 10 or 11 and get the latest updates.
121+
In this guide, we’ve shown you how to install WSL and Ubuntu on Windows 10 or 11 and the latest updates.
116122

117-
We hope you enjoy working with Ubuntu in WSL. Don’t forget to check out [our blog](https://ubuntu.com/blog) for the latest news on all things Ubuntu.
123+
We hope you enjoy working with Ubuntu in WSL. Don’t for to check out [our blog](https://ubuntu.com/blog) for the latest news on all things Ubuntu.
118124

119125
### Further Reading
120126

0 commit comments

Comments
 (0)