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:
Search for Turn Windows Features on or off and click the top result.
On Windows Features, check the Windows Subsystem for Linux option.
Click the OK button.
Click the Restart now button.
Open Microsoft Store.
Search for Ubuntu and select the latest version available. For example, “Ubuntu 18.04 LTS.”
Click the Get button.
Click the Launch button.
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.