Table of Contents

Windows-Subsystem für Linux (WSL)

Installation

Windows

Voraussetzung: Windows 10 (Build 19041 und höher) oder Windows 11

wsl --install

Windows Server

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

Befehle

wsl

wsl --help                             # Hilfe anzeigen
wsl <linux command>                    # Ausführen des angegebenen Linux-Befehls.

wsl2 only:
wsl --status                           # 
wsl --update                           #

wslconfig

wslconfig /l
wslconfig /l /all 
wslconfig /u <Distributionsname>       # /unregister
wslconfig /t <Distributionsname>       # /terminate
wslconfig /s <Distributionsname>       # /setdefault
wslconfig /upgrade <Distributionsname>