-
Notifications
You must be signed in to change notification settings - Fork 0
14_WSL
Davood Dorostkar edited this page Aug 18, 2024
·
5 revisions
- install default ubuntu
wsl --install
- set as default version
wsl --set-default <Name>
- list online versions
wsl -l --online
- list installed versions
wsl -l -v
- run in home directory
wsl --cd ~
- run as a user
wsl -u <user>
- stop a distro
wsl -t <Distribution Name>
- stop all
wsl --shutdown
- uninstall a dirsto
wsl --unregister <DistributionName>
- import and export as .tar
wsl --export <Distribution Name> <FileName>
wsl --import <Distribution Name> <InstallLocation> <FileName>