# How to Install Ubuntu Linux on Windows 11 with WSL 2

Have you ever wondered how WSL 2 (Windows Subsystem for Linux) lets developers use a Linux-like environment right on Windows? It's quite intriguing! It provides a simple way to set up Laravel, PHP, Python, Node.js, Vue.js, React.js, and many more for development. Let's explore how to get started quickly.

### Step 1: Enable Virtualization in BIOS

1. Restart your computer and enter the BIOS/UEFI settings (usually by pressing `F2`, `Delete`, or `Esc` during boot).
    
2. Look for an option like **Intel Virtualization Technology**, **AMD-V**, or **SVM Mode** under the processor or advanced settings.
    
3. Enable the option and save changes.
    
4. Restart your system.
    
5. Check if it enabled using Windows Task Manager `Ctrl + Shift + Esc`
    

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1732059086630/212f23bd-e522-4ab3-95a1-1459d8397c0f.png align="center")

### Step 2: Install WSL 2 and Ubuntu on Windows 11

First, we need to check if Windows Subsystem for Linux is enabled as a feature on Windows or not, so press `Start` key on your keyboard to bring start menu on front and type **windows features** and open the program.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1732058202913/869fb783-c6d2-4aa3-b4c6-ca0884c4d4cc.png align="center")

Now enable **Windows Subsystem for Linux** and **Virtual Machine Platform** and restart your machine.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1732058597454/f44ad176-a0e4-4bcd-a404-7946aeb0f176.png align="center")

Open **Windows Powershell as Administrator** and run the following command to install WSL 2 and Ubuntu Linux OS on Windows.

```bash
wsl --install # default Ubuntu release
```

If you're still having trouble installing WSL 2 on your Windows computer, feel free to comment below. I'm here to help!
