New machine setup

Install WSL (Linux on Windows)

Run a real Ubuntu terminal inside Windows, so Linux commands and tools just work.

WSL is a Windows feature. On macOS and Linux your terminal already works the way WSL gives Windows.

WSL is a Windows feature. On macOS and Linux your terminal already works the way WSL gives Windows.

  1. Install WSL with UbuntuRun as administrator
    PowerShell
    wsl --install

    Restart your PC when it finishes.

  2. Open Ubuntu and finish setting it up
    PowerShell
    wsl

    The first time, pick a Linux username and password. They don't have to match Windows.

  3. Keep WSL up to date
    PowerShell
    wsl --update

Check it worked

  1. Check Ubuntu is installed and on WSL 2
    PowerShell
    wsl --list --verbose

    VERSION should say 2.

Undo it
  1. Remove Ubuntu and everything inside it
    PowerShell
    wsl --unregister Ubuntu

    This deletes all files inside Ubuntu for good.