Query on WSL

Rising Flight 5,216 Reputation points
2024-12-20T22:45:40.69+00:00

Hi, I want to install WSL on Windows Server 2019. I have checked the Microsoft documentation, but I am unclear since it mentions both WSL 1 and WSL 2. Which version should I choose? If I want to install WSL on a server without internet connectivity, is there an offline version available?

For a server with internet connectivity, will the wsl.exe --install command work? Will it install WSL directly from the internet?"

Windows for business Windows Server Devices and deployment Set up, install, or upgrade
Windows for business Windows Server User experience Other
Windows for business Windows Server Devices and deployment Configure application groups
{count} votes

Accepted answer
  1. S.Sengupta 24,476 Reputation points MVP
    2024-12-21T01:44:42.3533333+00:00

    On Windows Server 2019, WSL 1 is the only officially supported version.

    WSL 2 requires Windows Server 2022 or later.

    Use WSL 1 if You only need basic Linux tools and faster startup times. If You need enhanced compatibility with Linux software, then use WSL 2.

    No, the wsl --install command won't work on Windows Server 2019 - this command is only available for Windows 10 and Windows 11.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.