
Open the Microsoft Store and install Ubuntu 20.04 LTS, Terminal, and X410. Reboot your system, otherwise you will experience issues.Īfter the system has rebooted, set WSL 2 as default.

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestartĭism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart Open a Powershell shell as administrator and execute the two commands below. Start by installing the Windows features Windows Subsystem Linux and Virtual Machine Platform on your system. The IDE's are running inside WSL 2 to have the best performance possible. The minimum software I use for development tasks are WSL 2 with Ubuntu 20.04 LTS installed, Docker for Windows on WSL 2, Microsoft Terminal and Jetbrains IntelliJ, P圜harm and PHPStorm. This laptop combines a lot of processing power with excellent battery performance in a tiny slimbook. I develop on a Lenovo Yoga AMD Ryzen 4800U laptop with 16 GB of memory and 512 GB of NVME SSD. Fortunately, WSL 2 enables us to resolve these issues by running Docker in WSL 2 aswell as your favorite Jetbrains IDE! My setup Hardware

Mounting source code into a Docker container still causes very poor performance. Docker resolves some of these issues, but Docker on Windows is still running on a Hyper-V Virtual Machine. Mounting source code into a Linux Virtual Machines causes very poor I/O performance, especially when you work on large projects with a lot of (composer) packages and (frontend) libraries.


On Windows you need a Linux Virtual Machine to install Linux software. The advantage of MacOS is that you are able to install all software locally using Homebrew. PHP, MySQL and a web server like Nginx, just work better on Linux based systems. The development experience on MacOS was a lot better than developing on a Windows system because of the special needs that comes with web development. Untill this year, I mainly developed on a MacOS system when working for my own business.
