Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot find WSL option inside Visual Studio Code terminal

I use Windows 11 system.

My project require to use a docker environment. In order to do so, I need to install WSL, a Linux terminal. And I meet problem in connecting WSL into Visual Studio Code.

Step 1: I already install WSL

Step 2: I also install WSL extension in Visual Studio Code. enter image description here

Problem: But when I need to use WSL comment from terminal inside Visual Studio Code, I cannot find WSL option...

enter image description here


1 Answers

did you connect your workspace correctly?

in the left bottom there is a button, you should see WSL there. If you don't, click on the green button and then choose connect to wsl:

enter image description here

enter image description here

like image 128
rebinnaf Avatar answered Sep 22 '25 10:09

rebinnaf