Drupal 10 Development in Windows with WSL2
Drupal 10 Development in Windows with WSL2
For many, like myself, Windows is the preferred environment for development. Software like Drupal, however, is much more easily managed in a Linux environment. Fortunately, there’s a solution.
Windows Setup This Setup applies to Windows 10
Install WSL 2
wsl --install
Install Ubuntu 22.04.6 from the Microsoft Store
It should prompt you for a username/password, and you’re ready to go. I picked the username ‘drupaldev’ which will be reused through this post, but you can use whatever you like (just remember to user your username anywhere that drupaldev is referenced later on)