If you are using WSL for programming in Windows, you should use Debian.
This article is not for Linux experts. If you are one and have a Windows machine (main reason is gaming), I hope you are using Debian for WSL and not Ubuntu.
WSL (Windows Subsystem for Linux)
If You Don’t Use WSL, You Should
If you program on Windows, some languages require extra setup tools and dependencies to get started. In Linux, you often just need one package install command, and you're ready to code.
The size of WSL (with a distro) can sometimes be smaller than the dependencies you need to install on Windows.
IDEs nowadays, like VS Code offer an option to connect directly to WSL, and the terminal it opens is Linux. You don’t even notice that the terminal you’re using is running on WSL.
You can also copy and move files across Windows and Linux (WSL).
Run this command as admin to install WSL. If you don’t specify a distro, it installs Ubuntu.
wsl --install -d Debian
WSL can also be install through Microsoft store.
(if you encounter problems just search online or ask AI, it’s fairly simple)
Since WSL2, we get a full Linux kernel in a lightweight VM, which was not the case in WSL1. This means Windows is not trying to emulate Linux; you get the actual Linux kernel.
Full article at talepunk.com