RT ,想在终端执行 bash 的时候执行的是 win 安装的 git bash 而不是进入 wsl2 ,尝试将 git bash 所在目录拉到系统环境变量第一条,但是好像没用。
1
artiga033 May 20, 2024 via Android
wsl 的 bash 位于 `%LOCALAPPDATA%\Microsoft\Windows` 建议再检查下顺序
也可以用 powershell 命令`gcm -All bash | fl`来排查 |