How do I get Windows 10 Terminal to launch WSL?

前端 未结 7 1577
长发绾君心
长发绾君心 2021-01-30 09:31

I\'m using the new Windows Terminal, and trying to get it to launch my WSL terminal. This is the setting that I\'m trying to use:

        {
            \"acrylic         


        
7条回答
  •  借酒劲吻你
    2021-01-30 10:00

    To launch any distribution, you can also use this for commandline:

    wsl.exe -d 
    

    Like :

    wsl.exe -d Ubuntu-18.04
    

    You can list all distributions with :

    wsl.exe -l
    

    .

    PS : Tux icon for Linux :

    ms-appx:///ProfileIcons/{9acb9455-ca41-5af7-950f-6bca1bc9722f}.png
    

提交回复
热议问题