wsl --install命令在Powershell 因为发现问题,于是按照微软官方操作指南选择手动安装。 打开Powershell,输入以下命令: dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart 这一条是为系统启动Linux子系统。 在输入命令后,检查系统版本
Install WSL command You can now install everything you need to run WSL with a single command. Open PowerShell or Windows Command Prompt inadministratormode by right-clicking and selecting "Run as administrator", enter the wsl --install command, then restart your machine. ...
WSL isn't PowerShell. Using the "Windows Server PowerShell" tag won't get the attention of the folks might be able to help. In any case, try Ctrl+C while it's hanging. Others have reported similar problems: https://github.com/microsoft/WSL/issues/6405 Please sign in to ...
Install WSL command You can now install everything you need to run WSL with a single command. Open PowerShell or Windows Command Prompt inadministratormode by right-clicking and selecting "Run as administrator", enter the wsl --install command, then restart your machine. ...
You can check this by opening PowerShell and entering: wsl -l -v Install Node.js on WSL 2: This includes a version manager, package manager, Visual Studio Code, and the Remote Development extension. We recommend using the Windows Subsystem for Linux when working with NodeJS apps for better...
Installing WSL on your Computer Step 1:Open PowerShell Access Powershell through thecommand-line interfaceby right-clicking on the Start button, select "Windows PowerShell (Admin)" from the menu. Step 2:Enable WSL Feature In the PowerShell window, type the following command and pressENTER: ...
I've been getting same issue after the update and was able to install wsl with the help of your workaround. thank you !! Sign up for freeto join this conversation on GitHub.Already have an account?Sign in to comment Assignees No one assigned ...
open ubuntu profile in powershell: Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x8000000d Error: 0x8000000d An illegal state change was requested. Press any key to continue... disable all optional features: hyper-v, windows hypervisor, wsl, virtual ma...
Additionally, you can find a list of Linux distributions available to install by entering the commandwsl--list--onlinein PowerShell or Windows Command Prompt. To install a distribution other than, or in addition to, the Ubuntu default, use this command:wsl--install-d<...
Additionally, you can find a list of Linux distributions available to install by entering the commandwsl--list--onlinein PowerShell or Windows Command Prompt. To install a distribution other than, or in addition to, the Ubuntu default, use this command:wsl--install-d<DistroName> ...