Use Windows Subsystem for Linux
If not already installed, install the Windows Subsystem for Linux (WSL) on a Windows computer.
In an administrative Command Prompt window, run the following command:
wsl --install
Restart the computer when prompted to complete the installation.
After you restart, open the distribution. Press Start > wsl.
You are prompted to create a new username and password for the Linux distribution.
For more information, see Set up your Linux username and password.
To configure the WSL Abuntu image, access the image running on WSL and follow the steps for Install on an Ubuntu 24.04 server.