Windows Insider Preview Build 20150 Is Out

The latest Insider build for the Windows Subsystem for Linux features GPU Compute, WSL Install, and WSL Update.

Microsoft released the new Windows Insider Preview Build 20150, which contains three thrilling new updates for the Windows Subsystem for Linux (WSL). GPU compute, a new command: wsl --install, and wsl --update.
 
GPU compute is a feature that enables Linux binaries to leverage the GPU. It helps to do more ML/AI development and data science workflows directly in WSL.
 
wsl --install is a new command that enables you to install WSL with just one command. And, wsl --update gives you the ability to comfortably manage the Linux kernel version used by WSL 2 distros.
 
The addition of GPU compute support includes support for NVIDIA CUDA, which enables you to use your local Windows machines for inner-loop development and experimentation. Moreover, this will also support DirectML, which enables students to use hardware-accelerated training on the breadth of Windows hardware, across AMD, Intel, and NVIDIA GPUs.
 
Microsoft said that to make WSL easier to install, it has added a new command-line option: wsl.exe --install. Users will only see this option on systems that do not have the ‘Windows
 Subsystem for Linux’ optional component enabled.   
 
In this latest build, this command will enable the Windows Subsystem for Linux optional component, and the VM Platform optional component, and prompt you to restart your machine. In the future, the company has planned to add support to automatically install WSL distros using this command as well.
 
Microsoft also said that the Linux kernel that is used by WSL 2 distros is now being delivered through Microsoft Update. So, your Linux kernel will be automatically kept up to date just like any other component on your machine and these updates are viewable inside of the ‘Windows Update’ page in your Windows Settings.
 
The new release also brings new command-line options to give you fine control over your Linux kernel versions inside of WSL. wsl.exe --update.
 
wsl.exe --update This command manages updates to the WSL 2 kernel.
 
wsl.exe --update --status This command shows what kernel version you are on, and when you were last updated.
 
wsl.exe --update --rollback This allows you to revert to a previous version of the Linux kernel.