mrkeyoor.comAsk

microsoft/WSLtested 27 Nov 2026commit f753835

WSL review

Use WSL for Linux tooling alongside Windows applications, particularly when projects can live on the Linux filesystem.

  • Safety failed
  • Build 1 s
5 sto install
  • Tests failed
  • 50 packages
Dev Toolsevaluationupdated 27 Nov 2026
+34stars / 7d

Windows Subsystem for Linux (WSL) runs Linux tools and applications alongside Windows software. WSL2 runs an actual Linux kernel inside a managed virtual machine.

Verdict

Use WSL for Linux tooling alongside Windows applications, particularly when projects can live on the Linux filesystem. Choose a full VM for strict isolation, another kernel or an exact production image. Our distributions/ build succeeded in 1 second, but pytest collected 0 tests; the Windows evaluation still needs the workload checks listed under what we have not tested.

WSL infographic: run Linux tools alongside Windows applications, plus its uses, our test result, pitfalls and who it suits
Tested 27 November 2026: the source install took 5 s and the build 1 s.

We ran it

Lab card: what happened when we ran WSL
Lab card from our sandbox run
Screenshot of WSL (wsl.dev)
wsl.dev
Install✓ · 5s50 packages · 63 MB
Build✓ · 1s
Tests✗ · 2s0 passed · 0 failed of 0 (pytest)
Repo1569 files~359,159 lines of source · 37.5 MB · 7 CI workflows · tests dir

Answers from our run

Does WSL build from source?

Dependencies installed in 5 seconds (50 packages), and the build succeeded in 1 seconds. We cloned commit f753835 into a clean Debian container with 3 CPUs and no project-specific setup.

Do WSL's tests pass?

No. The project's own test command finished in 2 seconds and reported 0 passed, 0 failed (pytest).

Who should not use WSL?

Developers requiring strict isolation, another kernel or an exact production image: Microsoft recommends a full VM for those requirements.

What are the alternatives to WSL?

VirtualBox, Hyper-V. Use WSL for Linux tooling alongside Windows applications, particularly when projects can live on the Linux filesystem.

Setup4/5Our source checkout installed in 5 s and built in 1 s with 50 dependencies, but we did not run a README task.Editor’s note: The measured installation covered distributions/; packaged installation on a supported Windows host was not reproduced.
Docs3/5The 3,124-character README has no install instructions of its own and points to separate documentation, which we did not assess.Editor’s note: Architecture and installation guidance is concrete, but container availability descriptions differ across Microsoft pages.
Community5/5Last push on 2026-11-27, 34,487 stars and maintainers answered or closed 8 of the 10 most-discussed issues we sampled.Editor’s note: Sampled issues contain detailed exchanges, without a representative measurement of support responsiveness.
Maturity4/5Latest release 3.0.5 on 2026-11-03, repository created 2016-04-06 and its test suite did not pass in our sandbox.Editor’s note: The source-path build succeeded, but pytest collected no tests and the run demonstrated no Windows application workload.

How we score

Discussed on

  1. hnWindows file access performance compared to Linux518 points
  2. hnWindows Subsystem For Linux a.k.a. WSL 1.0.0 released182 points
  3. hnWindows Subsystem for Linux 2.0 release74 points
  4. hnWSL's GitHub repository is being hit with a wave of Chinese spam issues9 points
  5. hnMicrosoft/WSL pull requests taken over by malicious GH action8 points

Who it’s for

Developers who need Linux application tools while keeping Windows desktop software available.
VS Code users who keep Linux projects in Linux storage and use the WSL extension.
Teams whose workstation evaluation includes file placement, service access, corporate networking and sleep recovery.

Who it’s NOT for

Developers requiring strict isolation, another kernel or an exact production image: Microsoft recommends a full VM for those requirements.
Hardware workflows that assume ordinary Linux serial access: Microsoft's comparison documentation states a serial-port limitation and identifies USBIPD-WIN for USB devices.
Teams choosing built-in wslc specifically for existing Compose files: Microsoft's developer page describes that support as planned.

Setup reality

Our November 27, 2026 run at commit f753835 installed the distributions/ Python project in 5 seconds, recording 50 dependencies and 63 MB on disk. The build succeeded in 1 second. Pytest failed with exit 5 after 2 seconds: 0 passed, 0 failed of 0, with "no tests ran in 0.00s".

Microsoft documents administrator PowerShell installation followed by a restart and Linux account setup. That packaged Windows route is different from the distributions/ source path measured here.

The sandbox configuration recorded 3 CPUs, 8 GB RAM and image ghcr.io/astral-sh/uv:python3.12-bookworm. A separate Compose attempt failed because no required Compose file existed, contradicting its deployment summary.

Use WSL when Windows is your desktop and Linux tools are part of your working day. Choose a full VM when strict isolation, another kernel or an exact production image is the requirement, following Microsoft's environment-selection guidance. Our November 27, 2026 source-harness install took 5 seconds and its build took 1 second; pytest then collected 0 tests. The useful decision here combines that precise result with documented architecture and attributed developer reports.

Linux tools run beside Windows applications

WSL runs Linux applications and command-line tools alongside Windows software, while WSL2 supplies an actual Linux kernel inside a managed VM. Microsoft's architecture comparison describes that kernel and virtualization boundary. WSL is the product name; WSL2 is an architecture within it. That distinction explains why avoiding a traditional VM setup does not mean avoiding virtualization, and why a description of early WSL can mislead someone evaluating WSL2.

Ubuntu is a Linux distribution installed within WSL, alongside choices such as Debian, Kali and OpenSUSE. Microsoft's installation guide lists those distributions. The distribution supplies packages and a Linux user environment, while WSL provides the Windows integration. A developer choosing Ubuntu inside WSL is therefore making a different decision from choosing between an integrated Windows workflow and a separately managed Linux VM.

What people use WSL for

Developers report using WSL for application development, Windows document work and Linux coursework, with concrete examples of the tools involved. The accounts below describe their authors' environments and experiences. Their value is the named workload: you can compare Java, databases, VS Code or coursework with your own requirements instead of relying on a broad claim that WSL suits every kind of Linux work.

Who used it What they did Reported outcome
Gautham Santhosh Machine learning, web and blockchain development using Ubuntu 18 on Windows 10 Santhosh reported that WSL met his needs and Ubuntu ran smoothly.
The Hexiosec blog author Linux development with VS Code and Windows Terminal The author described low-level serial and network device problems and a configured memory limit.
The reporter of issue #6982 Java/SQL work and JavaScript personal projects through VS Code Remote WSL, with database containers The reporter described a positive workflow interrupted by Vmmem CPU problems.
zzz1990771 in issue #4150 RStudio Server in a Docker container inside WSL2 The commenter reported that access from another machine failed.

The Java developer named VSCode Stable v1.56.2, WSL Remote v0.56.2 and Docker Desktop v3.3.3, with MongoDB or PostgreSQL containers. That specificity makes issue #6982's workflow report useful when assembling a workstation evaluation. The Yale CPSC 201 guide offers another use case: its author wrote Linux setup instructions for students. Application development and introductory coursework both benefit from access to Linux tools, although their environment requirements differ.

What happened when we ran it

Our run installed the distributions/ Python project in 5 seconds and built it in 1 second; pytest exited 5 after 2 seconds with 0 tests collected. We measured commit f753835 on November 27, 2026, as recorded in our source-harness measurements. The log's final message was no tests ran in 0.00s. This is an empty test invocation, with neither a passing assertion nor a failing assertion to report.

Recorded step or signal Result Verdict Why
Install Succeeded in 5 seconds; 50 dependencies; 63 MB on disk Dependency setup completed The harness recorded a successful installation.
Build Succeeded in 1 second Build step completed The measured distributions/ step returned success.
Tests Failed with exit 5 after 2 seconds; 0 passed, 0 failed of 0 No tests exercised The log says no tests ran in 0.00s.
Repository scan 1,569 files; approximately 359,159 source lines; 37.5 MB checked out Checkout measurements These figures describe repository contents.
Automation scan 7 CI workflow files; a tests directory; no Dockerfile Automation files found File presence is a separate observation from execution.

The recorded sandbox configuration was 3 CPUs, 8 GB RAM and image ghcr.io/astral-sh/uv:python3.12-bookworm. The image string is the requested configuration. The installation, build and test figures belong to the Python project under distributions/; keeping that path beside the numbers prevents a reader from mistaking a small source-helper build for a complete WSL workstation installation or native subsystem build.

A separate deployment attempt failed with unsafe repo: none of compose.yaml, compose.yml, docker-compose.yaml, docker-compose.yml exists (rule: a compose file is required), according to the recorded Compose safety step. The phrase unsafe repo is the harness's missing-file label. The run summary nevertheless claimed a Docker Compose deployment with every port bound to 127.0.0.1, while teardown reported success. The detailed failed step contradicts the deployment summary.

Where people get stuck: files, VPNs and sleep recovery

Historical GitHub reports identify slow Windows-mounted file access, VPN failures, Vmmem CPU activity and hangs after sleep or hibernation. Each report names a symptom and environment, which makes it a useful diagnostic lead. The following table keeps the reported problem beside the response rather than presenting a collection of commands as a general repair procedure for every WSL installation.

Symptom and report Reported response Recorded outcome
Issue #4197: slow WSL2 access under /mnt Maintainer guidance favors the Linux ext4 filesystem File placement is the proposed workaround.
Issue #5068: networking stops after a Windows VPN connects Users described nameserver changes or corporate proxy configuration Different participants identified different network causes.
Issue #6982: Vmmem CPU activity after sleep or monitor changes Some users disabled WSLg with guiApplications=false and restarted WSL Another participant still reported trouble after an update containing CPU fixes.
Issue #8696: terminal and wsl --shutdown hang after hibernation Reporters restarted Windows or terminated WSL processes Recovery experiences differed.
Issue #4901: downloads are slower than on Windows Users tried reboots and antivirus changes Some participants explicitly reported no improvement.

The VPN discussion contains two distinct diagnoses. One participant proposed adding a router address as a nameserver; another identified a corporate filtering proxy and reported success after configuring http_proxy, https_proxy and apt. Issue #5068 records both approaches. A DNS change and a corporate proxy setting solve different problems, so the thread supports collecting the actual network error before selecting a workaround.

Issue #6982 also directs attention to WSLg's hidden system distribution when the user distribution shows no busy process. The discussion identifies that separate place to investigate. In issue #8529, closure followed inactivity, and later participants continued reporting hangs. Process termination helped some users, but ddonov reported an operating-system crash after killing vmwp.exe. That reported crash belongs beside the recovery suggestions.

Put Linux projects on the Linux filesystem

Microsoft recommends storing project files on the same operating system as the tools that work on them. For Linux commands under WSL2, that means Linux storage, as Microsoft's comparison guide explains. This gives a new user a concrete starting choice: place the checkout with the Linux toolchain, then use the Windows editor's WSL integration rather than moving every operation across the Windows filesystem boundary.

The VS Code WSL tutorial describes its remote development extension, including a status-bar indicator for the current editing context. Its language extensions work against the tools installed in WSL. The Hexiosec author likewise describes VS Code treating WSL as a remote development environment. Microsoft's comparison retains WSL1 as an option for projects that must stay on Windows storage, so file placement is part of the architecture decision.

Storage and RAM need separate budgets

Deleting Linux files does not necessarily shrink the Windows VHDX file; budget host disk space separately from RAM. The reporter of issue #4699 describes temporary video and database-export workloads leaving a large virtual disk. A VHDX is the Windows-side virtual disk file. Removing a temporary dataset inside Linux and reducing the space occupied by that host file are separate operations, which explains the reporter's concern about backup size.

The storage discussion includes offline compaction suggestions, a Windows Home user without Optimize-VHD, and use of diskpart. It also includes broken Docker integration and destructive cleanup outcomes. Those recovery reports appear in issue #4699. RAM has its own history: issue #4166 reports host memory remaining high after database work until shutdown, while the Hexiosec author configured a memory limit. That chosen limit is an operator setting, rather than a minimum requirement.

Security starts with the boundary you need

Microsoft recommends a full VM when strict isolation is the requirement. Its developer guidance also names another kernel and an exact production image as reasons to choose a VM. These criteria make the environment decision concrete: an integrated development shell and a separately controlled guest answer different requirements, even when both can run the application tools a developer uses each day.

Network reachability creates another boundary. Issue #4150 describes a Linux service reachable from Windows but inaccessible from another LAN device. Participants reported TCP forwarding and firewall changes, including a guest address that changed after reboot. The WSL README also states that the application logs basic diagnostic data. Workstation policy therefore has documented behavior to address alongside the intended audience for any development service exposed through Windows.

WSL vs VirtualBox, Hyper-V, dual boot and Docker

Choose WSL for Linux tooling beside Windows applications; choose a full VM for strict isolation, another kernel or an exact production image. These are Microsoft's selection criteria. The comparison below separates environment choices from tools used inside an environment, so Ubuntu and Docker do not become misleading substitutes for WSL simply because searches place their names together.

Option Supported reason to choose it Source
WSL2 Integrated Windows/Linux work using a managed Linux kernel Microsoft architecture comparison
WSL1 Projects that must remain on Windows storage Microsoft filesystem exception
Full VM, including VirtualBox or Hyper-V Strict isolation, another kernel or an exact production image Microsoft environment-selection guidance
Dual boot A separately installed Linux operating environment Yale student guide's dual-boot discussion
Remote Linux More compute or specialized hardware Microsoft remote-environment guidance
Docker alongside WSL Containerized application work in the same development workflow Java and database workflow in issue #6982
Ubuntu inside WSL A Linux distribution and its packages Microsoft installation guide

Microsoft's container tutorial describes WSL 2.9.3 or higher and says that version is available as a prerelease, while its developer landing page labels WSL containers generally available. The container tutorial's prerequisites and developer page's availability description therefore differ. The developer page separately calls existing Compose-file support planned. That distinction matters when choosing a container workflow: a built-in CLI and support for an existing multi-container configuration are separate capabilities.

Outdated claims, corrected

WSL2 runs a Linux kernel inside a managed VM, correcting descriptions that omit virtualization or say it shares the Windows host kernel. Engr. Md. Hasan Monsur's January 2026 Medium overview uses the no-VM description, and Ty Sherback's October 2025 XDA comparison says WSL shares the host kernel. Microsoft's architecture comparison explicitly describes the Linux kernel and managed VM. The distinction is manual VM administration versus WSL's managed virtualization.

XDA also says applications such as GIMP or LibreOffice cannot run through WSL. The Microsoft-hosted community Q&A article by volunteer moderator Sumit includes a GIMP installation example, and Microsoft's overview describes Linux graphical applications. Santhosh's older no-Linux-kernel description belongs to WSL1. The student guide's graphics and audio workarounds similarly describe an older setup, while the later architecture account describes integrated graphics and audio support.

Two documentation qualifications also need to travel with their headline claims. The July 2025 community Q&A gives Windows 10 version 2004 as the requirement, while the manual installation guide includes qualifying x64 version 1903 builds. Microsoft's comparison table groups VMware and VirtualBox compatibility together, but its accompanying explanation allows VMware 15.5.5+ and retains VirtualBox caveats. The detailed conditions are more useful than the table's single negative mark.

FAQ

WSL stands for Windows Subsystem for Linux, and Microsoft's installation guide documents running Linux distributions on Windows. Ubuntu and Debian are distributions within that environment, rather than replacements for WSL itself. The questions below focus on installation, architecture and file access, using Microsoft's installation guidance and the documented workflows discussed above.

How do I install WSL and Ubuntu on Windows 11?

Run wsl --install from administrator PowerShell, then restart Windows. Microsoft's developer page documents that route and Ubuntu as the default distribution. The installation guide also describes creating the Linux user account and password. These are instructions for packaged WSL on Windows; the 5-second installation measured in our run belongs to the separate distributions/ Python project and should not be used as a Windows setup estimate.

Should I use WSL1 or WSL2 for my workload?

WSL2 is the default architecture and uses an actual Linux kernel inside a managed VM. Microsoft's comparison identifies Windows-mounted project files as a reason to consider WSL1. For Linux development, the same guide recommends keeping files with the Linux tools. The practical first choice is therefore where the project must live, followed by the architecture that fits that storage arrangement and the application's Linux requirements.

Should I choose WSL, VirtualBox, Hyper-V or dual boot?

Choose WSL for simultaneous Windows and Linux application work, and a full VM for strict isolation, another kernel or an exact production image. Microsoft states those VM selection criteria directly. Dual boot instead involves installing another operating system and switching between them, as the Yale student guide explains. That choice changes the desktop workflow as well as the Linux environment available to the developer.

How does WSL relate to Docker and Ubuntu?

Ubuntu is a distribution installed inside WSL, and Docker can be used alongside that Linux development environment. Microsoft's installation guide lists Ubuntu among the available distributions, while issue #6982 describes Docker Desktop with MongoDB or PostgreSQL containers in a WSL development workflow. The relationship is compositional: WSL supplies the integrated environment, Ubuntu supplies a distribution, and containers can supply application services.

How do I access Windows files and the C drive from WSL?

The Windows C drive appears under /mnt/c in the Hexiosec author's documented example, /mnt/c/Users/scott/.wslconfig. The article shows that path explicitly. This gives a concrete example of reaching a Windows user directory from Linux. For a Linux project, Microsoft's separate file-placement recommendation still applies: store the checkout on the same operating system as the tools that perform the work.

What we have not tested yet

Our measurements cover the distributions/ Python path, not a supported Windows installation, native WSL compilation, Linux GUI behavior or GPU workloads. The configured image label does not establish actual runtime or operating-system versions; those need raw toolchain logs. The failed Compose safety step supplies no demonstrated deployment, application-task answers or screenshots. These boundaries also explain the four unassessed rating dimensions rather than turning an empty pytest invocation into a Windows reliability score.

Current failure rates, controlled WSL2-versus-VM performance, battery behavior and issue resolution remain outside these measurements. Issue states refer to the captured discussions. We have not tested current wslc availability by release channel, Compose replacement, corporate VPN compatibility, disk-recovery safety, telemetry traffic or the AI-agent workflow advertised in a Bilibili title. Rendered layout, resolved links, related links, recommendation modules and other template behavior also remain untested.

A useful Windows evaluation would place one real project on Linux storage, open it through VS Code, exercise browser and database connections, connect the required corporate VPN, and resume after sleep. Recording the Windows build, WSL version, distribution and network mode would make each outcome reproducible. That proposed evaluation is future work; the actual results here remain the 5-second install, 1-second build and 2-second pytest invocation with 0 collected tests.

Alternatives

ProjectWhat it isPick it when
VirtualBoxA full virtual-machine option for a separately managed Linux environment.Choose a full VM when strict isolation, another kernel or an exact production image matters, following Microsoft's selection guidance.
Hyper-VMicrosoft's full-VM option for a separately managed Linux machine.Choose a full VM when the workload requires the separately controlled environment described in Microsoft's VM selection guidance.

Sources

  1. Microsoft WSL repository and README
  2. Microsoft WSL architecture comparison
  3. Windows Subsystem for Linux developer guidance
  4. Install WSL
  5. Vmmem high CPU usage
  6. WSL2 network connection when VPN used
  7. WSL2 disk-space recovery discussion
  8. WSL commands hang

More dev tools reviews