# list available distros
wsl --list--online# list installed distors
wsl --list# install wsl
wsl --update
wsl --install<distro># uninstall wsl
wsl --unregister<distro># open wsl
wsl -d<distro>
Arch Setup
wsl --install archlinux
# update arch
pacman -Syu# set root passwordpasswd
pacman -Svimsudo# create default useruseradd-mG wheel <user>passwd<user>EDITOR=vim visudo
# find the line saying:# uncomment to allow members of group wheel to execte any command# remove the # from the line right belowexit
wsl --manage archlinux --set-default-user <user>
wsl -d archlinux
# fontsudo pacman -Syu fontconfig ttf-dejavu
fc-cache -fv# enable gui applicationln-s /mnt/wslg/.X11-unix /tmp/.X11-unix