Windows Subsystem for Linux

The Windows Subsystem for Linux (WSL) is available as a feature on Windows 10 and supports out-of-the-box Ubuntu running within Windows. This is the simplest option if you have Windows 10 (1709 or later) installed (see Settings -> System -> About). It also requires the installation of XMing or VcXsrv. Microsoft also announced in May 2019 that WSLv2 will incorporate the Linux kernel directly within Windows, so as to delivery significant performance gains and support more applications.

To get started:

  • Go to ‘Turn Windows Features On or Off’ (Control Panel -> Programs -> Programs and Features), tick on the box ‘Windows Subsystem for Linux’ to install WSL and reboot.
  • Go to Microsoft Store and search for the Ubuntu distribution to install.
  • Launch Ubuntu from the Start menu or else type the command “ubuntu” in the Powershell.

See https://github.com/simonzhaoms/tips/blob/master/wsl.md for more details on using WSL.