WSL distribution unregistration¶
WSL distribution unregistration is the process of permanently removing a registered WSL distribution from the Windows Subsystem for Linux^[600-developer-tools-windows-wsl-command.md]. This action deletes the distribution instance and its file system data from the computer^[600-developer-tools-windows-wsl-command.md].
Usage¶
To unregister a specific distribution, the --unregister flag is used with the specific distribution name^[600-developer-tools-windows-wsl-command.md]. For example, to remove a distribution named "U20.04-tommy", the following command is used^[600-developer-tools-windows-wsl-command.md]:
wsl --unregister U20.04-tommy
Related Concepts¶
- [[WSL]]
- [[WSL import]]
- [[WSL export]]
Sources¶
- 600-developer-tools-windows-wsl-command.md