wsl

install

upgrade

[!NOTE|label:references:]

  • update to pre-release version

start up WSL

  • download

  • rename

init

wsl init

check

  • windows feature

    • appwiz.cpl

      appwiz.cpl
    • windows features

      windows feature check

reinstall

uninstall

[!NOTE|label:references:]

  • destroy distros

  • uninstall in Settings > Apps > Installed apps

    • Ubuntu

    • Ubuntu-22.04.3 LTS

    uninstall apps
  • disable in Start Menu > Turn Windows Features on or off

    • Virtual Machine Platform

    • Windows Subsystem for Linux

    • or via

    manual disable windows features
  • reboot

  • others:

reinstall

cmds

[!NOTE|label:references:]

  • commands:

    • wsl --update

    • wsl --version

    • wsl --list --running

    • wsl --shutdown

    • wsl hostname -i

    • wsl -d ubuntu

      • wsl -d Debian -u root

status

  • check status

  • set wsl version

    • set default version

    • set distros

users

  • run as root

  • config default user

shutdown

  • shutdown and terminate

  • unregister

disk

  • export and import

  • mount

debug

[!NOTE|label:references:]

  • dump log

  • host info

    • powershell

    • host network

  • packages

features

[!NOTE|label:list windows features:]

services

others

q&a

Error: 0x80040326

  • issue

    0x80040326
  • solution

    0x80040326

Error 4294967295

[!NOTE|label:references:]

  • check vmcompute

run-detectors: unable to find an interpreter

[!INFO|label:references:]

  • more

tip

  • enable windows programe in wsl

  • append windows path

    • via regedit

    • via wsl.conf

isWsl or isUbuntu

[!TIP]

  • uname -r

  • /proc/sys/kernel/osrelease or /proc/version

enable nvim clipboard

enable vim clipboard

[!NOTE|label:references:]

  • vimrc

    • with wl-clipboard

    • without wl-clipboard

wsl.conf

[!NOTE|label:references:]

[!NOTE|label:references:]

recover data

[!NOTE|label:references:]

  • mount

release disk space

[!NOTE|label:references:]

Last updated

Was this helpful?