Howto wsl windows: Difference between revisions

From Vidalinux Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 11: Line 11:
list distro name and version:
list distro name and version:
  wsl -l -v
  wsl -l -v
restart wsl:
wsl --shutdown

Revision as of 21:35, 1 February 2023

list of available wsl distros to install:

wsl --list -o

install specific distro:

wsl --install -d kali-linux

update the wsl kernel:

wsl --update

set windows subsystem for linux 2 your default architecture for new distros:

wsl --set-default-version 2

convert the distro from wsl to wsl 2:

wsl --set-version kali-linux 2

list distro name and version:

wsl -l -v

restart wsl:

wsl --shutdown