Install Ubuntu 24.04 on Windows with WSL
- Open an elevated PowerShell (i.e.
Run as Administrator) - Run
wsl --install - Restart your machine
- Run
wsl --update - Run
wsl --install Ubuntu-24.04 - Start the now installed Ubuntu where you then enter a username
- In a windows terminal run
wsl --manage ubuntu-24.04 --set-default-user <your-wsl-username> - To make sure this change is applied run
wsl --shutdown