lxndio

Journal of my ideas, thoughts and projects.


Install the Windows Subsystem for Linux aka Bash on Ubuntu on Windows

In this short guide I'll explain to you how to install the Windows Subsystem for Linux. The WSL allows you to run a bash shell on Windows which can be used for development purposes etc.

For this to work you need to have the Windows 10 Creators Update or higher installed on your computer.

1. Enabling developer mode

The first thing you need to do is to enable the developer mode on Windows. To do that, open the Settings app, click on Update & Security. In the side bar there is an entry called For developers. Click on that and check the radio button on the right side saying Developer mode.

2. Enabling WSL

Next, open the old-fashioned control panel, click on Programs and then click on Turn Windows Features On or Off. A list will appear in which you enable the Windows Subsystem for Linux (Beta) option. Click OK to finish.

You have to reboot your computer now.

3. Starting Bash for the first time

In the start menu, search for bash and open it. Agree to the terms of service and enter a username and password to use in Bash.

From now on, you can start Bash by searching for it in the start menu.