Skip to main content

Reinstalling Ubuntu WSL on Windows from PowerShell

This is when you want to throw your build out the window and start fresh:

wsl --unregister Ubuntu
wsl --install -d Ubuntu

Now you can start with a fresh install of Ubuntu in Windows Subsystem for Linux.