← Back to Home

Install WSL

WSL (Windows Subsystem for Linux) lets you run Linux distributions like Ubuntu, OpenSUSE, Kali, or Debian directly on Windows — no virtual machine or dual-boot needed. You get Bash, Linux command-line tools, and utilities side by side with your Windows apps.

Prerequisites

You must be running Windows 10 version 2004 and higher (Build 19041 and higher) or Windows 11 to use the commands below. If you are on earlier versions, you can see the manual install page.

Install WSL command

You can now install everything you need to run WSL with a single command. Open PowerShell or Windows Command Prompt in administrator mode by right-clicking and selecting "Run as administrator", enter this below command, then restart your machine.

Powershell
wsl --install

This command will enable the features necessary to run WSL and install the Ubuntu distribution of Linux. (This default distribution can be changed).