设置默认打开 Windows 子系统 Ubuntu
🏘️

设置默认打开 Windows 子系统 Ubuntu

前提

首先需要在 Windows 上安装 Windows Terminal 应用。
在 Microsoft Store 搜索即可,如下图:
notion image

设置

在打开 Windows 终端时,默认打开的是 Powershell,如何想进入子系统就不需要在终端运行 ubuntu 命令才可以。
那如何默认直接进入。

1. 打开设置

点击终端上方向下的箭头,展开后再点击设置。
notion image

2. 选择 Ubuntu

notion image

扩展

🚍
IDEA(Goland) 终端默认设置为 Windows 子系统(Ubuntu)