wsl

Manage the Windows Subsystem for Linux from the command line.…

wsl

Manage the Windows Subsystem for Linux from the command line. More information: https://docs.microsoft.com/windows/wsl/reference.

wsl {{shell_command}}

wsl --exec {{command}} {{command_arguments}}

wsl --distribution {{distribution}} {{shell_command}}

wsl --list

wsl --export {{distribution}} {{path/to/distro_fs.tar}}

wsl --import {{distribution}} {{path/to/install_location}} {{path/to/distro_fs.tar}}

wsl --set-version {{distribution}} {{version}}

wsl --shutdown

Также может быть вам интересно:
Windows
← wmic wsl-open →