Getting Linux

How to install Ubuntu on Windows 10

Windows 10 now support Linux distros natively, but you need to add the feature on the current version of the operating system. Here's how.

Bush on Ubuntu on Windows

You can now run Linux distributions, such as Ubuntu, alongside Windows 10. Microsoft is making the move to get more developers to code on any platform but using Windows 10 as their main tool. However, for this to happen, the company has partnered with the guys behind the Ubuntu Linux, Canonical, to expand the command line tool set in Windows 10.

Although the Linux terminal doesn’t come included by default, the process to run Linux distros on Windows 10 is quite simply using the Windows Subsystem for Linux (WSL) feature.

In this guide, I’ll walk you through the steps to install Ubuntu on Windows 10.

How to install Ubuntu on Windows 10

Use these steps to enable Windows Subsystem for Linux and install Ubuntu on Windows 10:

  1. Open Start.

  2. Search for Turn Windows Features on or off and click the top result.

  3. On Windows Features, check the Windows Subsystem for Linux option.

    Windows Subsystem for Linux (Beta)

  4. Click the OK button.

  5. Click the Restart now button.

  6. Open Microsoft Store.

  7. Search for Ubuntu and select the latest version available. For example, “Ubuntu 18.04 LTS.”

  8. Click the Get button.

    Install Ubuntu on Windows 10 from the Microsoft Store
    Install Ubuntu on Windows 10 from the Microsoft Store
  9. Click the Launch button.

  10. Continue with the on-screen directions to complete the setup.

Once you complete the steps, you can start using the Linux terminal on Windows 10 to access apps, such as Git, Ruby, Python, grep, awk, sed, and many more tools. For commands reference, you can use this Microsoft documentation page.

Update July 24, 2019: This guide was originally published in 2016, and it’s been updated to reflect the changes with the latest version of Windows 10.