Advertisment

How to Install and Use the Ubuntu Bash Shell on Windows 10

You can install Ubuntu-based Bash shell on Windows 10 that can run Linux software directly on Windows. This is possible due Windows 10’s Anniversery update, Microsoft intorduced a “Linux Subsystem for Windows” which is big and new feature for developers. If you are using 64-bit Windows 10 Insider preview, then you can easily install the Bash shell.

author-image
Rajkumar Maurya
New Update
windows10_ubuntu

You can install Ubuntu-based Bash shell on Windows 10 that can run Linux software directly on Windows. This is possible due to Windows 10’s Anniversary update, Microsoft introduced a “Linux Subsystem for Windows” which is a big and new feature for developers. If you are using 64-bit Windows 10 Insider preview, then you can easily install the Bash shell.

Advertisment

 

How to Install Bash on Windows 10

Step1: To Install Bash first you need to enable Insider Preview builds to get this feature before the Anniversary Update is officially released. To enable it,  go to setting app and click on Windows Update option>advanced option.

Advertisment

Windows update

In the advanced option click on Get started button under the Get Insider Preview Builds option.

get preview

Advertisment

Step 2: Once you enabled Insider build, go to Settings app and click no Update & Security > For Developers. Activate the “Developer Mode”.

For devloepr

Step 3:  After enabling Developer mode, open the Control Panel, click “Programs,” and click “Turn Windows Features On or Off” under Programs and Features. Enable the “Windows Subsystem for Linux (Beta)” option in the list here and click “OK.” Once it done, you will get a reboot pop-up, just click on the “Restart Now” option.

Advertisment

turn off

Step 4: After your computer restarts, click the Start button  and type “bash”, and press “Enter.”

Search bash

Advertisment

Step 5: When you run it the first time it will ask you to accept the terms of service, just type Y to accept and continue.

bash

Step 6: After successful installation, open the Ubuntu Bash shell to run the commands. To run the bash, just open your start menu and search for “bash” or “Ubuntu”.  The Bash shell  you get here is based on Ubuntu that means you can use apt-get command to install software form Ubuntu repositories.

bash final

You cannot use sudo command in this Bash shell because you already using the system under administrative privilege.  You can install the software by using apt-get command but you can access them by only  Bash shell.

windows windows10
Advertisment