terminal wsl2 setting -> tools-> Termianl -> shell path 填写wsl.exe的绝对路绝对路径的查找: wsl2 安装 https://docs.microsoft.com/en-us/windows/wsl/install 更改运行环境 edit Configuration -> Run on -> 选择wsl2