If you haven't heard, Microsoft loves Linux. This statement raises the eyebrows of skeptics, but then you look at Windows Subsystem for Linux (WSL) and start to see the truth. WSL 2 allows you to install a Linux environment running the full Linux kernel in Windows 11 or 10 (if you're still using it), and the integration between the two is fairly tight. The first version of WSL had no kernel and poor performance. WSL is still essentially a virtual machine, but it has deep ties to its Windows host.
For developers, WSL means seamless access to Windows and Linux without using traditional virtual machines. However, you don't have to be a developer, it's a solid tool that anyone can use, whether they're a veteran or just starting out with Linux.
Microsoft has also done a lot of work on the onboarding experience, and now WSL 2 is easier than ever to get up and running. Here's how it's done.
What you need to run WSL 2 on Windows 10 and 11
You don’t need a super powerful PC to run WSL 2, nor do you need to Use a "professional" version of Windows like the Hyper-V VM tool. WSL 2 does take advantage of the Hyper-V architecture, but you don't have to pay extra for it.
WSL 2 also supports x64 and ARM processors. However, if you are using it on an ARM-based machine, you will need to use a Linux version with an ARM version, such as Ubuntu.
WSL 2 can also run on Windows inside a virtual machine, as long as the VM software you are using supports nested virtualization and has this feature enabled.
How to Install WSL 2
The installation process for WSL 2 is now so simple that you can be up and running in minutes. The only prerequisite is that you are on Windows 10 version 2004 and above (and you really should be by now) and have the KB5004296 patch applied.
There are two options to choose from: use the Microsoft Store or use PowerShell.
First, just open the Microsoft Store and download the "Windows Subsystem for Linux Preview" app. This will hopefully be the place to get WSL in the long term, as it will allow teams to update it without having to go through Windows Update.
Alternatively, open PowerShell on your PC and enter the following command:
wsl –install
Sit back and wait for it to do its thing, Restart your computer when the signal is received and voila! WSL 2 is now set up on your PC. The default distro is Ubuntu, but you are free to use any other distro from the Microsoft Store or third-party sources like Github or directly from the distro manufacturer.
If you are using Windows 11, the Windows Terminal app is preinstalled and is the best way to use WSL on your PC. You can launch a distro via PowerShell using the command "wsl -d" followed by its name, but using Windows Terminal you can access each installed distro from a drop-down menu.
If you don't have Windows Terminal installed, you can get it from the Microsoft Store or through the Windows Package Manager.
The above is the detailed content of Steps to set up and install WSL 2 on Windows 10 and 11. For more information, please follow other related articles on the PHP Chinese website!

The domestic AI dark horse DeepSeek has risen strongly, shocking the global AI industry! This Chinese artificial intelligence company, which has only been established for a year and a half, has won wide praise from global users for its free and open source mockups, DeepSeek-V3 and DeepSeek-R1. DeepSeek-R1 is now fully launched, with performance comparable to the official version of OpenAIo1! You can experience its powerful functions on the web page, APP and API interface. Download method: Supports iOS and Android systems, users can download it through the app store; the web version has also been officially opened! DeepSeek web version official entrance: ht

At the beginning of 2025, domestic AI "deepseek" made a stunning debut! This free and open source AI model has a performance comparable to the official version of OpenAI's o1, and has been fully launched on the web side, APP and API, supporting multi-terminal use of iOS, Android and web versions. In-depth search of deepseek official website and usage guide: official website address: https://www.deepseek.com/Using steps for web version: Click the link above to enter deepseek official website. Click the "Start Conversation" button on the homepage. For the first use, you need to log in with your mobile phone verification code. After logging in, you can enter the dialogue interface. deepseek is powerful, can write code, read file, and create code

DeepSeek: How to deal with the popular AI that is congested with servers? As a hot AI in 2025, DeepSeek is free and open source and has a performance comparable to the official version of OpenAIo1, which shows its popularity. However, high concurrency also brings the problem of server busyness. This article will analyze the reasons and provide coping strategies. DeepSeek web version entrance: https://www.deepseek.com/DeepSeek server busy reason: High concurrent access: DeepSeek's free and powerful features attract a large number of users to use at the same time, resulting in excessive server load. Cyber Attack: It is reported that DeepSeek has an impact on the US financial industry.

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

Dreamweaver Mac version
Visual web development tools

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

SublimeText3 Mac version
God-level code editing software (SublimeText3)

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),
