重启WSL服务:你可以通过PowerShell运行wsl --shutdown来关闭WSL,然后再尝试重新启动你的Linux发行版。 查看Windows事件查看器中的相关日志以获取更多诊断信息。 希望这些步骤能帮助你解决“wsl: command not found”的问题!如果问题仍然存在,请确保你的系统满足WSL的所有要求,并考虑进一步的技术支持。
19 - that will run for a while. But call up another power shell window and confirm you have wsl version 2 installed. I tried these two commands : “ "wsl --list --verbose" and "wsl -l -v" HERE is where I started getting “** -bash: wsl: command not found **” Hyper-V...
If this does not resolve the issue, you can try resetting the WSL installation by running the following command in PowerShell with administrator privileges: PowerShell wsl--unregister<distribution name> Replace<distribution name>with the name of your Ubuntu distribution. After running this comman...
The term 'wsl' is not recognized as the name of a cmdlet, function, script file, or operable program. Ensure that the Windows Subsystem for Linux Optional Component is installed. Additionally, if you are using an ARM64 device and running this command from PowerShell, you will receive this ...
1)在appwiz.cpl中安装wsl 或者powershell中运行Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux 2)下载https://aka.ms/wsl-ubuntu-1804 得到Ubuntu_1804.2019.522.0_x64.appx在shellpower中运行 Add-AppxPackage d:\Ubuntu_1804.2019.522.0_x64.appx(不确定这一步是否有用)。将...
1)在appwiz.cpl中安装wsl 或者powershell中运行Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux 2)下载https://aka.ms/wsl-ubuntu-1804 得到Ubuntu_1804.2019.522.0_x64.appx在shellpower中运行 Add-AppxPackage d:\Ubuntu_1804.2019.522.0_x64.appx(不确定这一步是否有用)。将...
在Windows 终端的「管理员: Windows PowerShell」标签页中,执行以下命令(执行命令的意思是,输入命令并按回车): wsl--install 2. Windows 会安装 WSLg 和 Ubuntu,但是有时会卡在最后一步下载 Ubuntu。如图所示,红箭头表示已经安装了内核和 GUI 支持。但是最后一步下载 Ubuntu 特别慢。
Environment Windows build number: 10.0.19592.0 Steps to reproduce I was working on my Ubuntu with wsl but somehow now it's not running and the output of my PowerShell is as follows: PS C:\WINDOWS\system32> wsl -l -v NAME STATE VERSION * Ubuntu Stopped 2 PS C:\WINDOWS\system32> wsl...
正确配置如下:Windows(分隔符英文分号):XML/HTML code bootclasspath ${java.home}/lib/rt.jar;...
windows可以直接在cmd/powershell内直接通过wsl或bash调用wsl终端 下面是其他形式连接wsl的方式 vscode+remote-wsl插件: remote-wsl 这是最简单的VSCode链接wsl的方式 在使用这种方式连接的时候,需要为wsl安装extension;windows上的vscode插件默认不可用 ...