This setup is for Windows 11 + WSL as a dev environment for Radius.
- Windows 11 24H2 Pro or Enterprise
wingetversion 1.6 or higher (Open a terminal window and runwinget --versionto check.)
- Log into Windows and clone this repo into the %userprofile% profile folder. Be sure to include submodules:
git clone https://github.com/brooke-hamilton/dotfiles --recurse-submodules - Open a PowerShell terminal window as Administrator, navigate to the repo folder, and run
.\install.ps1 - Reboot.
- Open Windows Terminal and launch the Ubuntu WSL distro. Complete the Ubuntu OOBE setup, i.e., log into Ubuntu and set your credentials.
- From the Ubuntu terminal, run
./install_wsl.sh. (You can run it from its Windows location at/mnt/c/users/<username>/dotfiles.)
When WSL hangs, and wsl --shutdown does not work, and the Windows Service does not respond to a restart command, run this command to kill the service.
taskkill /f /im wslservice.exe