Install ubuntu on wsl(windows subsystem for linux)
To get a list of Linux distributions available to install in wsl You can view all distributions that WSL supports by running the following command: wsl --list --online This command queries Windows for every distribution currently published and available for installation. The following is a list of valid distributions that can be installed as of July-2026 Install using 'wsl.exe --install <Distro>', if you want it to be installed in custom location read below How to Install a WSL Distribution with a Custom Name and Custom Location By default, when you install a Linux distribution using Windows Subsystem for Linux (WSL), Windows stores the distro in its standard app‑package directory under your user profile. This works fine for most users, but developers often need more control — for example: keeping work and personal environments separate placing distros on a faster SSD storing distros on a larger secondary drive organizing multiple environments in a predictable folder stru...