Open PowerShell or Command Prompt and run:
WSL distributions are stored in the following directory:
Inside your WSL distro, run:
| What you want | Command / Path | |---------------|----------------| | See all distros & status | wsl -l -v | | Export distro | wsl --export <Distro> <path>.tar | | Import to new location | wsl --import <Distro> <InstallDir> <path>.tar | | Unregister distro | wsl --unregister <Distro> |
once confirmed it works.
Open PowerShell or Command Prompt and run:
WSL distributions are stored in the following directory: wsl distro location
Inside your WSL distro, run:
| What you want | Command / Path | |---------------|----------------| | See all distros & status | wsl -l -v | | Export distro | wsl --export <Distro> <path>.tar | | Import to new location | wsl --import <Distro> <InstallDir> <path>.tar | | Unregister distro | wsl --unregister <Distro> | Open PowerShell or Command Prompt and run: WSL
once confirmed it works.