Top Nav

Get Started with Bash in Windows 10 Anniversary Update

Developers and IT professionals can look forward to exciting improvements coming in the first major revision of Windows 10 this summer. One such feature is the Bash Unix shell, providing broad access to a rich collection of command line tools and applications. The built-in Windows Subsystem for Linux in Windows 10, opens up a whole new world for Windows power users who were previously deterred by the lack of support. Here’s a look at how to install and get started.

Enable Windows Subsystem for Linux in Windows 10

Before users can start using Bash in Windows 10, there are certain requirements.

  • Windows 10 Anniversary Update – older builds of Windows 10 such as the November Update, 1511 or 10586 and the July Public release, 10240 are not supported.
  • The Windows Subsystem for Linux only works on 64-bit versions of Windows 10. This is because Bash on Windows 10 utilizes Hyper-V, which is not supported in 32-bit versions.
  • Internet access is required to download, then install the Bash command line tools.
  • The size of the download is about 200 MBs.

Go to Settings > Update & security > Activation, and select Developer mode, then click Yes.

bash 1

Press Windows key + R then type: optionalfeatures.exe then hit Enter on your keyboard. Scroll down then check off Windows Subsystem for Linux then click OK. To complete the installation a restart is required.

bash 2

Installing Bash Tools

Press Windows key + X on your keyboard to get the power user menu and choose Command Prompt. At the command prompt, type: bash then hit Enter. Type the letter y then hit Enter again to begin the installation.

Related Article:  Windows 10 Tip: Make Edge Browser Open to Multiple Web Pages

bash 5

Start Bash in Windows 10

There are multiple ways to start Bash in Windows 10. You can use the built-in Command Prompt, PowerShell or Bourn shell itself. Let’s look at all three.

Click Start, All Apps, under the letter B click Bash on Ubuntu for Windows.

Basics 1a

Press Windows key + X then click Command prompt, at the command prompt, type: bash then hit Enter. If you want to be able to access the local file system, press Windows key + X, Command Prompt (Admin) then type bash at the prompt.

Basics 1

I notice Bash works best under Windows PowerShell or Bash itself, some of the commands just don’t work in Command Prompt or require multiple attempts.

Bash Powershell

Trying Out Linux Commands in Windows 10

To display the date and time on screen type: date at the command prompt and hit Enter.


To find out the currently logged in user, type: whoami then hit Enter.

who am i

If you want to see your current calendar, type: cal then hit enter.


To list all files in the current directory, type ls at the command prompt then hit enter. The current contents of your personal folder will be displayed. To clear your screen, press Control key + L.

files in directory

Of course, there are thousands of other commands you can use, but this guide should help you get started.

If you have always wanted to broaden your skills in the fast-growing open-source economy, this opens up new opportunities. You no longer need to setup a virtual machine just to perform certain tasks and configuration with Linux. And you can now do it all from within Windows.

Related Article:  Take the Bing vs Google Challenge

More Reading:


9 Responses to Get Started with Bash in Windows 10 Anniversary Update

  1. Aaditya May 24, 2016 at 12:16 am #

    Are you able to perform sudo apt update and ping . For me, the first one fails to connect to the web (though I have a good WiFi) and the second one says Ping: icmp open socket: Operation not permitted.

    These features worked great in build 14316, but not 14328 nor 14332

    • Andre Da Costa May 24, 2016 at 5:07 pm #

      Yes, you should be able to use those commands. The only thing that is not officially supported right now are graphical applications. If you experience issues trying to use a command, make sure you use the Feedback app to report it.

  2. Eby T May 27, 2016 at 2:59 am #

    when will the anniversary update release..i mean the exact date and will it be in phases

    • Andre Da Costa May 27, 2016 at 6:58 am #

      Could be anywhere between June 21 and September 22nd 2016.

      • Eby T June 1, 2016 at 2:23 am #

        thank you for ur information

  3. click here June 10, 2016 at 3:55 am #

    I still use Windows 7 in my Sony Vaio system and I think Windows 10 is not easy to use. will it improves my system performance and speed

    • Eby T June 11, 2016 at 4:32 am #

      yes it will

  4. David Alvarez August 11, 2016 at 2:50 pm #

    Can somebody tell me how to change where Bash opens at please. Thanks.

  5. Shraban Kumar Mahato September 19, 2016 at 1:55 am #

    It is a pretty good thing that windows the user can access Linux OS inside the Windows OS. Can I install bush services manually without the internet.

Leave a Reply