前提首先需要在 Windows 上安装 Windows Terminal 应用。在 Microsoft Store 搜索即可,如下图:设置在打开 Windows 终端时,默认打开的是 Powershell,如何想进入子系统就不需要在终端运行 ubuntu 命令才可以。那如何默认直接进入。1. 打开设置点击终端上方向下的箭头,展开后再点击设置。2. 选择 Ubuntu扩展🚍IDEA(Goland) 终端默认设置为 Windows 子系统(Ubuntu)