How can you verify that WSL is correctly installed and running in WSL 2?

Question

Grade: Education Subject: Support
How can you verify that WSL is correctly installed and running in WSL 2?
Asked by:
72 Viewed 72 Answers

Answer (72)

Best Answer
(365)
You can check if WSL 2 is installed by opening a PowerShell command prompt and typing `wsl --version`. If it's installed, you'll see the WSL version number. Also, verify that you can launch a Linux distribution (e.g., Ubuntu) from the Windows Start menu. You can also try running `wsl --set-default-profile ` to set the default WSL environment.