The fastest and simplest way to install Ubuntu on Windows is using the **Windows Subsystem for Linux (WSL)** with a single command. WSL allows you to run a native Ubuntu command-line environment directly on Windows. Here is the step-by-step process for installing Ubuntu using the simplified `wsl --install` command: ----- ## Step 1: Check Prerequisites and Open Terminal 1. **Check Windows Version:** Ensure you're running a recent version of Windows 10 (version 2004, Build 19041 or higher) or Windows 11. 2. **Open an Elevated Terminal:** Click the **Start** button, type `powershell` or `cmd`, right-click on the result (e.g., Windows Terminal, PowerShell, or Command Prompt), and select **Run as administrator**. ----- ## Step 2: Run the WSL Installation Command 1. **Execute the Installation:** In the administrator terminal, type the following command and press **Enter**: `` wsl --install `` 2. **What this command does:** * Enables the required Windows optional features (**WSL** and **Virtual Machine Platform**). * Downloads and installs the latest **Linux kernel**. * Sets **WSL 2** as the default architecture. * Downloads and installs the **Ubuntu** distribution (this is the default Linux distribution). 3. **Wait for Completion:** The process will download and install the necessary components. This may take a few minutes. 4. **Restart:** When prompted to restart your computer to complete the installation, type `Y` or manually restart your machine. ----- ## Step 3: Complete Ubuntu Setup and Create a User 1. **Launch Ubuntu:** After your computer restarts and you log back in, the Ubuntu installation window should **automatically open**. If it doesn't, search for **Ubuntu** in your Windows Start Menu and launch the application. 2. **Create a UNIX User Account:** The setup process will ask you to create a user account for your new Ubuntu instance. * **Enter new UNIX username:** Type a username (this can be different from your Windows username) and press Enter. * **New password:** Type a password and press Enter. *(Note: Nothing will appear on the screen as you type the password; this is normal for Linux terminals.)* * **Retype new password:** Retype the password to confirm. 3. **Completion:** Once confirmed, the setup is complete, and you'll be dropped into the Ubuntu Bash shell. You are now logged in as the new user. ----- ## Step 4: Update the Ubuntu System (Recommended) As a best practice, immediately update the software packages within your new Ubuntu environment: 1. **Run the Update Command:** In the Ubuntu terminal, execute the following command: `` sudo apt update && sudo apt upgrade `` * You will be asked for the password you created in Step 3 to execute the `sudo` (superuser do) command. 2. **Confirm Upgrade:** Type `Y` and press Enter when prompted to continue with the upgrade. You can now use Ubuntu's command-line tools and environment directly within the Windows Subsystem for Linux. To open it in the future, just launch the **Ubuntu** app from your Start Menu.