Question: how to use wsl 2?
Answer: Enable the Windows Subsystem for Linux Optional feature (WSL 1 and WSL 2) Install a distro for the Windows Subsystem for Linux. Enable the 'Virtual Machine Platform' optional feature (WSL 2) Configure the distro to use WSL 2.