Skip to content

Commit f721366

Browse files
authored
Merge branch 'main' into cla-example
2 parents 6d31fe9 + 10c495e commit f721366

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/setup_wsl.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Usage: wsl.exe [Argument]
4949

5050
Install WSL. We recommend the most recent Ubuntu LTS version from the [Microsoft App Store](https://apps.microsoft.com/search?query=ubuntu+lts), currently Ubuntu 24.04.
5151
```console
52-
C:\WINDOWS\system32> wsl --install Ubuntu-24.04
52+
C:\WINDOWS\system32> wsl --install -d Ubuntu-24.04
5353
```
5454

5555
<div class="primer-spec-callout warning" markdown="1">
@@ -227,6 +227,9 @@ Once virtualization is enabled, ensure the "Virtual Machine Platform" feature is
227227

228228
Attempt to install WSL again, following the instructions at the top of this guide.
229229

230+
### Enable Windows Subsystem for Linux
231+
If you're running commands like `wsl -l -v` or `wsl --install -d Ubuntu-24.04`, but it just prints out a generic help message, you may need to enable the Windows Subsystem for Linux feature. Search for "Turn Windows features on or off" in the start menu. Scroll down and ensure that "Windows Subsystem for Linux" is checked. If it is not, check the box and click "OK". You may be asked to restart your computer.
232+
230233
### Microsoft Troubleshooting
231234

232235
Microsoft maintains an extensive [troubleshooting page](https://learn.microsoft.com/en-us/windows/wsl/troubleshooting#installation-issues) for WSL installation. If you're getting a specific error code/message, you may be able to match it with a resolution here.

0 commit comments

Comments
 (0)