This page is not finished
Check the official guide to learn how to the basic wsl commands
In Terminal as administrator:
wsl.exe --install
Restart your PC afterwards
Open Microsoft Store and install one of supported distros.
The list of supported Linux distros you can find here.
In Start, you should now see "WSL Settings" app with a pinguin-like logo.
There, you can enlarge RAM and swap.
Please set the WSL's RAM at least to 26GBs, which would approximately be 26000 Megabytes.
Refer to the distro's guide here