wsl --install --online
Invalid command line option: --install
Copyright (c) Microsoft Corporation. All rights reserved.
I need to see the linux versions I can download but I get this output. Why ?
The Windows Subsystem for Linux optional component is not enabled: Open Control Panel -> Programs and Features -> Turn Windows Feature on or off -> Check Windows Subsystem for Linux or using the PowerShell cmdlet mentioned at the beginning of this article.
Install Linux Subsystem on Windows ServerWSL is available for installation on Windows Server 2019 (version 1709) and later.
To install WSL2 on Windows 10, open Command Prompt as admin and run “wsl –install.” The command will install all the WSL2 components and the Ubuntu Linux distro. To install a specific distro, run “wsl –install -d DISTRO-NAME.” To update the WSL2 kernel, run the “wsl –update” command.
Check which build of windows you are on. I had this error when I was on builds less than 18917. You can find this in your "System Information" application
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With