How to Run WSL in Windows

In the Windows 10 Anniversary Update, Microsoft added the Windows Subsystem for Linux to Windows 10 and even offered (in partnership with Canonical) a fully functional version of Ubuntu Linux—officially, just shell access, although it took about three nanoseconds for people to figure out how to run regular Linux apps in X sessions on Windows 10. The Microsoft Store offers officially supported Linux distributions for Ubuntu, openSUSE Leap, SUSE Linux Enterprise, Debian/GNU Linux, and Kali Linux. Each of these distributions offers command-line access to Linux, from which you can run bash scripts or Linux command-line utilities. Reboot after you activate WSL. Start with updating the distribution according to the system’s architecture. For example, Debian and Ubuntu use apt. For example, you can execute the top command to check out system performance. Technically, you cannot run Linux programs that require an X server, although the internet is littered with fairly straightforward workarounds to get Windows 10 to display an X window.