WSL
Windows Subsystem for Linux (WSL) is a compatibility layer developed by Microsoft for Windows, allowing users to run Linux binary executables natively on Windows. WSL 2 operates on a genuine Linux kernel, providing improved system call compatibility and performance compared to its predecessor. It enables developers to use Linux command-line tools, utilities, and applications directly within a Windows environment without requiring a separate virtual machine or dual-boot configuration.
Core Facts
WSL is a compatibility layer introduced by Microsoft with the Windows 10 Anniversary Update in 2016; WSL1 translates Linux system calls via the Pico process mechanism, while WSL2 introduces a full Linux kernel virtual machine.
Docker Desktop chose to run on top of WSL2.
WSL (Windows Subsystem for Linux) is a compatibility layer technology officially provided by Microsoft that allows native Linux binaries to run on Windows systems without the full hardware simulation overhead of a traditional virtual machine.
Timeline (last 90 days)
Dify's official Docker Compose setup is written for Linux environments, and running it directly in native Windows environments easily runs into path, permission, and other issues, whereas WSL provides a near-native Linux runtime environment with better compatibility and far lower resource overhead than a full virtual machine.
Dify's official deployment scripts and container orchestration are mainly targeted at Linux environments, so WSL becomes the key prerequisite for Windows users to get Dify running.
Completing local deployment on a Windows machine via WSL plus Docker Desktop is the Dify private deployment method most recommended by the tutorial author.
The wsl --version command is used to check the WSL version; if it reports invalid, it usually means the system is still using the old WSL 1 and needs to be upgraded via wsl --update.
Windows has long lacked a first-class terminal multiplexer, and users often resort to tmux inside WSL or third-party solutions as workarounds.
Hermes theoretically supports Windows, macOS and Linux, but on Windows it must be installed via WSL and cannot be installed directly in CMD or PowerShell.
Strata runs best on Linux; on Windows there is a cap on multi-GPU memory locking, and under WSL even less memory can be locked.
OpenShell's deployment threshold is not low: it requires a Docker, Podman, or WSL environment first, and configuration is not a one-click affair.
Jed's team uses Windows + WSL + Claude Code, collaborating across multiple session windows and subagents to complete development tasks.
By default, the Windows file system is mounted under paths such as /mnt/c on the Linux side, and Linux can smoothly read and write Windows files; Windows accessing files inside WSL requires a network path (such as \\wsl$) or migrating the files.
18 more timeline events
All Facts (20)
WSL is a compatibility layer introduced by Microsoft with the Windows 10 Anniversary Update in 2016; WSL1 translates Linux system calls via the Pico process mechanism, while WSL2 introduces a full Linux kernel virtual machine.
80%VerifiedDocker Desktop chose to run on top of WSL2.
80%VerifiedWSL (Windows Subsystem for Linux) is a compatibility layer technology officially provided by Microsoft that allows native Linux binaries to run on Windows systems without the full hardware simulation overhead of a traditional virtual machine.
75%VerifiedThe wsl --version command is used to check the WSL version; if it reports invalid, it usually means the system is still using the old WSL 1 and needs to be upgraded via wsl --update.
65%Unverified在Windows上开启Chrome调试端口9222后,WSL或远程Linux可通过CDP协议连接并复用已登录的浏览器环境
90%UnverifiedOn Windows, Docker runs Linux containers through WSL2 or Hyper-V.
60%UnverifiedOn Windows 11 or newer versions of Windows 10, opening PowerShell with administrator privileges and executing wsl --install will automatically download and configure the Ubuntu distribution.
60%UnverifiedThe WSL project began in 2016 and was initially developed through a collaboration between Microsoft and Canonical (the parent company of Ubuntu).
60%UnverifiedDify's official Docker Compose setup is written for Linux environments, and running it directly in native Windows environments easily runs into path, permission, and other issues, whereas WSL provides a near-native Linux runtime environment with better compatibility and far lower resource overhead than a full virtual machine.
50%UnverifiedDify's official deployment scripts and container orchestration are mainly targeted at Linux environments, so WSL becomes the key prerequisite for Windows users to get Dify running.
50%UnverifiedCompleting local deployment on a Windows machine via WSL plus Docker Desktop is the Dify private deployment method most recommended by the tutorial author.
50%UnverifiedWindows has long lacked a first-class terminal multiplexer, and users often resort to tmux inside WSL or third-party solutions as workarounds.
50%UnverifiedHermes theoretically supports Windows, macOS and Linux, but on Windows it must be installed via WSL and cannot be installed directly in CMD or PowerShell.
50%UnverifiedStrata runs best on Linux; on Windows there is a cap on multi-GPU memory locking, and under WSL even less memory can be locked.
50%UnverifiedOpenShell's deployment threshold is not low: it requires a Docker, Podman, or WSL environment first, and configuration is not a one-click affair.
50%UnverifiedJed's team uses Windows + WSL + Claude Code, collaborating across multiple session windows and subagents to complete development tasks.
50%UnverifiedBy default, the Windows file system is mounted under paths such as /mnt/c on the Linux side, and Linux can smoothly read and write Windows files; Windows accessing files inside WSL requires a network path (such as \\wsl$) or migrating the files.
50%UnverifiedClaude Code offers a complete experience on macOS and Linux, while Windows support lags relatively behind, with some sandbox-related capabilities depending on indirect approaches such as WSL.
50%UnverifiedCompared to WSL, Git Bash is more lightweight, with an installation package of only a few hundred MB.
50%UnverifiedOpen-source container runtimes such as Podman and containerd are also actively adapting to the WSL environment.
50%