Skip to content

Instantly share code, notes, and snippets.

@raesene
Created October 6, 2020 14:13
Show Gist options
  • Select an option

  • Save raesene/fa91c148f004be0c75a2174446a22dc6 to your computer and use it in GitHub Desktop.

Select an option

Save raesene/fa91c148f004be0c75a2174446a22dc6 to your computer and use it in GitHub Desktop.
WSL Cheatsheet.md
**Create WSL distro Instance**
wsl.exe --import [name] [dir_to_place_distro_in] [path_to_rootfs_file]
**Remove WSL Distro** (NB still need to clean up files from that dir)
wsl.exe --unregister [Name]
**Export WSL Distro to TAR archve**
wsl --export [name] [dir_to_place_distro_in]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment