Bash on Windows Install and Resources

Bash on Windows Install and Resources

The biggest applause during the Day 2 keynote at Microsoft's Build 2016 conference in San Francisco was for Xamarin going free and open source.

The second biggest applause was when Microsoft announced Bash would be available on Windows 10 with the Anniversary Update due this July.

I must admit it has been a very long time since I have used Bash or a true command line interface, well beyond the Command Prompt in Windows, in my daily activities.

When I was in the Navy, the command I was stationed at during the early 90's had received email capabilities but it was all accessed through a Bash prompt and the Command Line Interface. It was a learning experience but a skill you must use on a regular basis to remain proficient.

If you are running Windows 10 (Build 14316) from the Windows Insider Program you can go ahead and get started with Bash on Windows. In this article you will see the install/set-up process to get Bash installed and then I will list some resources that will help us all get up to speed as necessary with the new feature.

First, let's get Bash installed on Windows 10 (Build 14316).

Windows 10 Developer Mode Setting

1. Go to Settings > Update & security > For developersand make sure you click the radial button for Developer mode.

Windows Features

2. Open up the Turn Windows features on or off  Control Panel applet and click the checkbox next to Windows Subsystem for Linux (Beta) and click OK to verify the setting and then follow the prompts to restart your system.

3. Once the system has rebooted open the Bash on Ubuntu on Windows desktop app to access the Bash prompt.

Bash on Windows CLI Interface

4. When you open this window up for the first time you will need to accept the licensing agreement and then Linux subsystem will be downloaded from the Windows Store.

Bash on Windows Installed

5. You now have Bash on Windows fully installed on Windows 10 (Build 14316).

Bash on Windows Help Results

6. One command that I did not lose over the years was help. Looking at those commands might just refresh your memory a bit.

Here is a very important message from the Bash on Windows team about this implementation:

First, this is the first time we’re releasing this technology – it’s marked as beta for a reason: We know that there are some rough edges and that some things will break! Do not expect every Bash script and tool that you run will work perfectly – there will be gaps. But by trying out this feature, you’ll help us figure out what we need to work on in order to greatly improve our reliability, coverage, and reach.

Second, while you’ll be able to run native Bash and many Linux command-line tools on Windows, it’s important to note that this is a developer toolset to help you write and build all your code for all your scenarios and platforms. This is not a server platform upon which you will host websites, run server infrastructure, etc.

Now, during Build 2016, Kevin Gallo provided some demos of Bash on Windows during the Day 2 keynote however, there are more in depth sessions available for on-demand viewing that occured during the remainder of Build 2016.

Running Bash on Ubuntu on Windows by Rich Turner and Russ Alexander:

Other resources:

Feedback Channels:

But, wait...there's probably more so be sure to follow me on Twitter and Google+.

----------

Looking for an awesome, no-nonsense technical conference for IT Pros, Devs, and Devops? Check out IT/Dev Connections!

IT/Dev Connections

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish