Skip to content

2. Installation

wslc.exe requires WSL 2.9.3 or later. For now this branch only exists as a pre-release: the stable version (2.7.x in September 2026) does not include wslc.

Check your version:

Terminal window
wsl --version
Terminal window
wsl --update --pre-release
Terminal window
wsl --version # should show 2.9.3 or later
wslc version # confirms the CLI is available
wslc run --rm hello-world

The last test downloads the hello-world image if needed and prints a welcome message.

Troubleshooting: the installation fails (error 1921 / 1603)

Section titled “Troubleshooting: the installation fails (error 1921 / 1603)”

This is what happened to me (see the journal). The command shows the progress bar, then returns — but wsl --version still shows the old version.

Diagnosis — the Windows Application log contains:

Error 1921. Service 'WSL Service' (WSLService) could not be stopped.
Installation success or error status: 1603.

To find it:

Terminal window
Get-WinEvent -FilterHashtable @{LogName='Application'; ProviderName='MsiInstaller'; StartTime=(Get-Date).AddHours(-1)} |
Select-Object TimeCreated, Id, Message

Cause — the MSI installer needs to stop the WSLService service, but processes keep it busy: Docker Desktop, Podman, open WSL terminals…

Fix — in an administrator terminal:

Terminal window
Get-Process "Docker Desktop","com.docker.backend" -ErrorAction SilentlyContinue | Stop-Process -Force
podman machine stop
wsl --shutdown
Stop-Service WSLService -Force
wsl --update --pre-release
wsl --version

If the service still refuses to stop: restart Windows and run the update before Docker Desktop restarts automatically.

To leave the pre-release, reinstall a stable version: wsl --update (without --pre-release) or the stable MSI package from the WSL GitHub releases. To verify: the exact rollback behavior from 2.9.x.

  1. How can you tell whether a WSL update really succeeded, even if the command shows no error?
Solution

Run wsl --version again and compare the version. If in doubt, read the MsiInstaller events: event 1033 gives the final status (0 = success, 1603 = failure) and event 11708 reports “Installation failed”.

  1. Why do you need to stop Docker Desktop before updating WSL?
Solution

Docker Desktop runs its own WSL distro, which keeps the WSLService service active. The installer can’t replace the files of a service it can’t stop.