ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Nakivo Backup and Replication - #1 Backup solution for Virtual, physical, cloud, NAS and SaaS

Menu
  • Certification
      • VCP-DCV vSphere 8
          • vcp2024-125.
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • vSphere 8.0
      • vSphere 7.0
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • Close
    • VMworld
      • VMware EXPLORE 2024
      • VMware EXPLORE 2023
      • VMware EXPLORE 2022
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • NAKIVO
    • StarWind
    • Zerto
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • PDFs and Books
    • Close
  • Free
  • Privacy policy

How to Install Ubuntu Bash Shell on Windows 10

By Vladan SEGET | Last Updated: January 24, 2017

Shares

Whether you just want to geek around with this or for serious work/developement/learning/testing purposes, it is an interesting option for users of Windows 10. The Add-On feature, which Microsoft calls “Windows Subsystem for Linux” (WSL) and it runs a genuine Ubuntu user-mode image allowing you to run native Bash shell and execute bash scripts or run command line tools directly from Within your Windows environment. As the feature has been added to Windows 10 just recently, this post will teach you about the details and how to activate/install – How to Install Ubuntu Bash Shell on Windows 10.

The idea is not new, but previously you had to install some kind of desktop virtualization product such as VMware Workstation, Fusion or Player. Then only you could install your own Linux distribution and have fun with Linux. Now, this bash shell is kind of tightened with W10 as you can access the underlying Windows file system to work on your documents or have a network access to the Bash shell.

It is not a virtual machine, it is not a container. It's a real native Bash environment to run Linux apps and commands on Windows. It is available in the Windows Store, and it provides a full Ubuntu image that runs in userspace as a program on your desktop. Programs compiled for Linux runs without needing to be recompiled for Windows. You can use Ubuntu’s apt-get command to download and install programs, etc, etc.

BASH is a popular text-based shell and command-language. It is the default shell included within Ubuntu and other Linux distros and in OSX. Users type commands into a shell to execute scripts and/or run commands and tools to accomplish many tasks.

What do you need to add this to your Windows 10 x64?

(yes, only x64 versions of Windows are supported).

  • The new ‘Windows 10 Anniversary Update’ installed (check the version of you Windows > Press Win+R > Type winver > PressEnter. Anniversary update has 1607 build number. You should see Version 1607 (OS Build 14393.10) or HIGHER.
  • A Windows 10 x64 version running on your PC

Step 1: Enable developer Mode – Go to Settings (WIN-I key) > Update & Security > For Developers > Select Developer Mode option.  After confirming you'll see that the packages are downloaded in the background (see that little animation).

Windows 10 Enable Developer Mode to download Bash

You'll need to confirm this as it is a certain security risk. Running apps without the benediction of Microsoft??? -:)

Enable Developer Mode of Windows 10

This process will take few seconds.

Step 2: Add the Windows subsystem for Linux (WSL) via Add/remove programs.

How to Install Ubuntu Bash Shell on Windows 10 easy way

You'll need to reboot.

After reboot, you can quickly open the Bash shell by typing Bash via Cortana search box or you can also invoke the bash command via cmd line.

You'll need to type “y” to accept and continue. The system will download the App from Windows store.

Then you're asked to create a Unix user and provide a password.

How to Install Ubuntu Bash Shell on Windows 10

This is it.

Now you can easily add the shortcut to the start menu. (Via right-click > Pin to start)

Start Menu Shortcut

You can check the executable at this path:

C:\Windows\System32\bash.exe

So, this is it. Don’t expect a graphical Linux desktop, the feature is targeting developers and coders.

Bash launcher

You can still do quite a lot. Things which previously wasn't possible within native Windows environment. You'd have to install a VM or at least Cygwin. Now you can:

  1. Run usual command-line utilities ( grep, sed, and awk )
  2. Navigate within the file system by using these commands
  3. Run Bash shell scripts which rely on supported command-line utilities

Quote from MSDN:

Windows is running Ubuntu user-mode binaries provided by Canonical. This means the command-line utilities are the same as those that run within a native Ubuntu environment.

Yes, it is pretty cool. Who would imagine this few years back!

You can run those command line editors:

  • vi
  • emacs
  • ssh

So lastly, you can also SSH directly to your ESXi host…. -:)

ssh to your esxi

How –  To completely uninstall Ubuntu on Windows?

From PowerShell window type:

lxrun /uninstall /full

If you want to reinstall, then simply from a command prompt, reinstall by typing “bash”.

More on ESX Virtualization:

  • Free Tools
  • VMware Workstation 12.5 VMware Fusion 8.5 – Free Upgrade
Shares
4/5 - (1 vote)

| Filed Under: Free Stuff Tagged With: How to Install Ubuntu Bash Shell on Windows 10

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x16, Veeam Vanguard x9, VCAP-DCA/DCD, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Private Sponsors

Featured

  • Thinking about HCI? G2, an independent tech solutions peer review platform, has published its Winter 2023 Reports on Hyperconverged Infrastructure (HCI) Solutions.
  • Zerto: One Platform for Disaster Recovery, Backup & Cloud Mobility: Try FREE Hands-On Labs Today!
Click to Become a Sponsor

Most Recent

  • Veeam Backup & Replication v13 Beta: A Game-Changer with Linux
  • What is Veeam Data Cloud Vault and how it can help SMBs
  • Nakivo Backup and Replication – Malware Scan Feature
  • Zerto 10 U7 released with VMware NSX 4.2 Support
  • XorMon NG 1.9.0 Infrastructure Monitoring – now also with Veeam Backup Support
  • Heartbeat vs Node Majority StarWind VSAN Failover Strategy
  • Vulnerability in your VMs – VMware Tools Update
  • FREE version of StarWind VSAN vs Trial of Full version
  • Commvault’s Innovations at RSA Conference 2025 San Francisco
  • VMware ESXi FREE is FREE again!

Get new posts by email:

 

 

 

 

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

Sponsors

Free Trials

  • DC Scope for VMware vSphere – optimization, capacity planning, and cost management. Download FREE Trial Here.
  • Augmented Inline Deduplication, Altaro VM Backup v9 For #VMware and #Hyper-V – Grab your copy now download TRIAL.

VMware Engineer Jobs

VMware Engineer Jobs

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2025 ·Dynamik-Gen · Genesis Framework · Log in