Beginners Guide to Install Discourse on Windows 10 for Development

check your wsl version from a powershell prompt. If it version 1, upgrade to version 2:

PS C:\Windows\system32> wsl -l -v
  NAME      STATE           VERSION
* Ubuntu    Running         1
PS C:\Windows\system32> wsl --set-version ubuntu 2
Conversion in progress, this may take a few minutes...
For information on key differences with WSL 2 please visit https://aka.ms/wsl2
Conversion complete.
PS C:\Windows\system32> wsl -l -v
  NAME      STATE           VERSION
* Ubuntu    Stopped         2
1 Like

Okay, so just as an FYI, the way you install WSL has changed in Windows 11.

4 Likes