![]() Additional options that can be used with the list command include: -all to list all distributions, -running to list only distributions that are currently running, or -quiet to only show distribution names. This command can also be entered as: wsl -l -v. See a list of the Linux distributions installed on your Windows machine, including the state (whether the distribution is running or stopped) and the version of WSL running the distribution (WSL 1 or WSL 2). List installed Linux distributions wsl -list -verbose This command can also be entered as: wsl -l -o. See a list of the Linux distributions available through the online store. List available Linux distributions wsl -list -online If you running WSL on Windows 10 or an older version, you may need to include the -d flag with the -install command to specify a distribution: wsl -install -d. -no-distribution: Do not install a distribution when installing WSL. ![]() -enable-wsl1: Enables WSL 1 during the install of the Microsoft Store version of WSL by also enabling the "Windows Subsystem for Linux" optional component. ![]() (WSL updates will be received via Windows updates, rather than pushed out as-available via the store). -inbox: Installs WSL using the Windows component instead of using the Microsoft Store.When WSL is not installed options include: -web-download: Install from an online source rather than using the Microsoft Store.-no-launch: Install the Linux distribution but do not launch it automatically.You can find available distributions by running wsl -list -online. -distribution: Specify the Linux distribution to install.For a valid list of distribution names, run wsl -list -online. You can also use this command to install additional Linux distributions by running wsl -install. Install WSL and the default Ubuntu distribution of Linux. For a full list of commands, run wsl -help. ![]() To run these commands from a Bash / Linux distribution command line, you must replace wsl with wsl.exe. The WSL commands below are listed in a format supported by PowerShell or Windows Command Prompt. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |