How do you install WSL Ubuntu distribution easily?
Experience Level: Junior
Tags: WSL
Answer
Run the following from the command-line:
wsl --install --distribution Ubuntu
wsl --install --distribution Ubuntu
Related WSL job interview questions
How do you install a WSL distro to a different drive?
WSL JuniorHow can you duplicate a WSL distro?
WSL JuniorHow can you access WSL 2 distribution from your LAN?
WSL JuniorHow can you allow a Git in WSL use your Windows Git credentials?
WSL JuniorHow do you copy output of commands in WSL to clipboard?
WSL Junior