Set default shell to wsl

  1. Click Ctrl + , to open Settings
  2. Click tap button Open Settings(JSON)
  3. Change Value
    "terminal.integrated.shell.windows":"C:\\Windows\\system32\\wsl.exe",
    
  4. store and exit
  5. restart VSCode

Last update : 4 juin 2023
Created : 23 septembre 2019