Howto wsl windows: Difference between revisions
Jump to navigation
Jump to search
Mandulete1 (talk | contribs) No edit summary |
Mandulete1 (talk | contribs) No edit summary |
||
Line 13: | Line 13: | ||
restart wsl: | restart wsl: | ||
wsl --shutdown | wsl --shutdown | ||
create a backup of the wsl distro: | |||
wsl --export Ubuntu ubuntu-backup.tar |
Revision as of 21:37, 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
create a backup of the wsl distro:
wsl --export Ubuntu ubuntu-backup.tar