How to Export and Import Windows Subsystem for Linux (WSL) Distro in Windows 10 – Windows Blog by Brink

How to Export and Import Windows Subsystem for Linux (WSL) Distro in Windows 10

The Windows Subsystem for Linux (WSL) is a new Windows 10 feature that enables you to run native Linux command-line tools directly on Windows, alongside your traditional Windows desktop and modern store apps.

Starting with Windows 10 build 18836 version 1903, Microsoft added some new commands that will give you more functionality when using wsl.exe.

You can now export and import different WSL distros. Exporting a distro is accomplished by passing in –export as an argument and will output a tar file of your current distro. For example, you could use this functionality to share your distro setup with other people. Additionally, if you pass in –import as an argument you can import a tar file that contains the root file system of a Linux distro, which allows you to import any distro you’d like (with any configuration you’d like) as a new distro.

This tutorial will show you how to export and import Windows Subsystem for Linux (WSL) distros in Windows 10.

Read more…