initial setup
To install WSL on a windows machine, use Debian, and use WSL2:
# https://learn.microsoft.com/en-us/windows/wsl/install
# install (ubuntu by default)
wsl --install
# specify a distro to install
wsl --install -d Debian
# reboot here
# list all
wsl -l -v
# set default wsl version for all instances
wsl --set-default-version 2
# set the default wsl version
wsl --setdefault Debian
# remove the ubuntu install
wsl --terminate Ubuntu
wsl --unregister Ubuntu
wsl -l -v
install hyper-v manager and create a v-switch first