How to install WSL 2 on Windows 10
PowerShell allows the system to execute .ps1 files
1. Enable WSL, open the PowerShell tool as an administrator and run the following command
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
2. Enable "Virtual Machine Platform"
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
3. run ubuntu
4. To open a project from a WSL distribution, open the distribution's command line and enter:code .