1.Install Linux on Windows with WSL
Please refer to the URL: Install WSL | Microsoft Docs
WSL: windows subsystem for linux
You must be running Windows 10 version 2004 and higher (Build 19041 and higher) or Windows 11. If not, please upgrade your Windows 10.
Windows 10 upgrade https://www.microsoft.com/zh-cn/software-download/windows10
2. Start a Windows PowerShell and run as Administrator
3. Set wsl2 to default
wsl --set-default-version 2
4. Linux-Ubuntu installation
wsl --install -d Ubuntu-18.04
5. Open the Linux-Ubuntu