1、在windows安装vscode2、在vscode中安装remote-wsl3、点击下图中ubuntu即可进入linux环境 4、导入文件时导入linux的目录,如/mnt/d这种,否则还是进入了windows系统