Windows

wsl

SafeWindows Subsystem for Linux

wsl

Runs/manages Linux on Windows. --list -v shows state; --shutdown is the fix-everything restart.

Examples

  • wsl --shutdownRestart the whole WSL VM

Syntax

wsl [--install] [--list -v] [--shutdown] [-d distro]

Before you run it

--shutdown kills running Linux work.

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store