Export a distribution to a .tar file

wsl

  • Manage the Windows Subsystem for Linux from the command-line.
    More information: <https://learn.microsoft.com/windows/wsl/reference>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

wsl --export {{distribution}} {{path/to/distro_fs.tar}}

click the source code to copy install wsl on any operating system with command-not-found.com