Follow official Microsoft guide called Windows Subsystem for Linux Installation Guide for Windows 10 to install WSL2.
In case you are using Linux outside WSL, you'll need to create a user for yourself. Assuming you have sudo permissions already, adding user is: