The Windows Subsystem for Linux lets you run command line Linux tools in Windows 10 by installing a full Linux system that can run alongside Windows. In May Microsoft announced that a major update to the Windows Subsystem for Linux was on the way, and now the first preview of WSL 2 is available.

It’s baked into the latest Windows 10 Insider Preview Build, which means that members of the Windows Insider program can take it for a spin once Preview Build 181917 (20H1) is installed.

One of the biggest changes is that WSL 2 comes with its own Linux kernel, which means that system calls no longer need to be intercepted and translated to interface with the Windows NT kernel.

Microsoft says it’s also improved file system performance significantly.

Some apps that wouldn’t work with the original version of WSL should work with WSL 2. And some apps that did work before should run faster now. Microsoft says some operations, such as unpacking a zipped tarball, are up to 20 times faster. Other tasks, such as using git clone, npm install, or cmake can be anywhere from 2 to 5 times faster.

Microsoft notes that in order to take advantage of the speedier file system performance, you’ll want to make sure to put files you plan to use frequently into the Linux root file system rather than keeping them on your C drive. But WSL 2 lets Windows apps access the Linux file system, so you should be able to copy files to and from the C drive.

In fact, if you type explorer.exe /  into the bash shell, WSL 2 should launch a Windows File Explorer window that’s open to the root Linux directory.

Windows 10 build 181917 also includes some new commands for setting up and managing Linux distributions. You can find those details, along with other information about WSL 2 at the Windows Command Line Tools for Developers blog, or in the documentation page.

Support Liliputing

Liliputing's primary sources of revenue are advertising and affiliate links (if you click the "Shop" button at the top of the page and buy something on Amazon, for example, we'll get a small commission).

But there are several ways you can support the site directly even if you're using an ad blocker* and hate online shopping.

Contribute to our Patreon campaign

or...

Contribute via PayPal

* If you are using an ad blocker like uBlock Origin and seeing a pop-up message at the bottom of the screen, we have a guide that may help you disable it.

10 replies on “Windows Subsystem for Linux 2 debuts with Windows 10 preview build 181917”

  1. Could it be a smooth transition to what eventually will be Windows with a whole linux underlying/filesystem? I always have a feeling that windows will have no choice but to do its own distro. Just a windows gui and focus on the software (office etc et). $$$ wise it would make sense. At the end of the day, windows users dont care whats under windows. They just hope for that OS experience.

  2. This is not the year of Linux on desktop that we needed, but the one that we deserve.

  3. For some reason this reminded me of “Lindows”.
    The phrase “embrace, extend, and extinguish” also comes to mind.

  4. I believe this is just a virtual machine that has tight ties with windows and fast boot times. Just like a VM, WSL2 has its own IP address. The docs say that GPU/USB/Serial is not supported at the moment, but you can always use WSL1 for that.

  5. “Microsoft notes that in order to take advantage of the speedier file system performance, you’ll want to make sure to put files you plan to use frequently into the Linux root file system rather than keeping them on your C drive.”

    Ahh, so just moving all files from C: to Linux will speed up everything?!

    1. Yep, presumably because the subsystem won’t have to use the Windows 10 file system to access the files.

Comments are closed.