Hell freezes over: Microsoft and Ubuntu bring the Linux Bash shell to Windows 10
In a surprising and unprecedented move, Microsoft and Ubuntu have announced a partnership to bring the Linux Bash shell to Windows 10. This means that Windows users will be able to run native Linux commands and applications on their PCs, without the need for a virtual machine or dual-boot system.

Bash, which stands for Bourne-Again Shell, is a command line interface widely used by Linux and Unix users. It allows users to interact with the operating system, manipulate files and directories, execute scripts and programs, and perform various tasks. Bash is also a powerful programming language that can automate complex operations and customize the user’s environment.
Microsoft and Ubuntu claim that this integration will benefit Windows and Linux developers, who will be able to use the same tools and workflows on different platforms. For example, a web developer using Windows as their primary operating system can now use Bash to run Linux-based web servers, databases and frameworks on their local machine, without having to switch to another device or operating system. Similarly, a Linux developer who needs to test his code on Windows can now do so without leaving his familiar Bash environment.
The Bash shell in Windows 10 will not be a separate application or emulation layer, but rather a native feature running on top of a new subsystem called Windows Subsystem for Linux (WSL). WSL is a compatibility layer that allows Windows to run Linux binary files natively, translating Linux system calls into Windows system calls. WSL will also provide access to the Windows file system and network stack, allowing Linux applications to interact with Windows resources.
To enable Bash Shell in Windows 10, users will need to enable developer mode in the Settings app and then install the WSL feature from the Windows Features dialog box. After that, they will be able to launch Bash from the Start menu or the command prompt. The first time they run Bash, they will be prompted to download and install Ubuntu from the Windows Store. Once installed, you will have access to a full Ubuntu environment, with all the accompanying packages and tools.
Microsoft y Ubuntu dicen que esta función aún está en versión beta y que es posible que algunas aplicaciones de Linux no funcionen como se esperaba en Windows 10. También advierten que esta función no está diseñada para uso en producción, sino para fines de desarrollo y prueba. Animan a los usuarios a proporcionar comentarios e informar problemas a través de sus respectivos canales.
This announcement marks an important milestone in the history of Microsoft and Linux, which have often been seen as rivals and competitors. Microsoft has been accused of being hostile and aggressive towards Linux in the past, while Linux has been seen as a threat and a challenge to Microsoft’s dominance in the software industry. However, in recent years, Microsoft has shown a more open and collaborative attitude towards Linux and open source software in general, supporting various projects, releasing some of its own code under open source licenses and embracing cross-platform development.
Microsoft and Ubuntu hope that this feature will encourage greater innovation and creativity among developers, who will be able to take advantage of the best of both worlds. They also hope that this feature will attract more users to both platforms, offering them more choice and flexibility.
One of the most interesting announcements at this year’s Microsoft Build conference was the introduction of Bash in Windows 10. Yes, you read that right. You can now run the powerful and versatile Linux shell natively on your Windows machine, without virtualization or emulation. How cool is that?
This is possible thanks to a collaboration between Microsoft and Canonical, the creators of Ubuntu, one of the most popular Linux distributions. They have worked together to bring Ubuntu binaries to Windows 10, which means you can run any Ubuntu command or program that works with the Linux kernel. This includes Bash, as well as tools like awk, sed, grep, vi and more.
This is not a simplified version of Bash or a compatibility layer like Cygwin. This is the real deal. You can access your Windows file system from Bash and you can use the same commands and scripts you would use on a Linux machine. You can even install Linux software using apt-get, Ubuntu’s package manager.
This is of great importance to developers, especially those working with open source technologies or cross-platform applications. Now you can use the same tools and workflows you are familiar with on Linux, without having to switch between operating systems or use a separate terminal application. You can also leverage the power and flexibility of Bash to automate tasks, manipulate files and customize your environment.
Microsoft has been embracing open source and Linux in a big way lately, as evidenced by its support for SQL Server and Visual Studio on Linux, and its partnership with Red Hat for Azure services. By bringing Bash to Windows 10, Microsoft is showing that it is serious about reaching developers where they are and giving them the best tools for their needs.
If you want to test Bash on Windows 10, you will need to be part of the Windows Insider program and install the latest preview version. You will also need to enable developer mode and enable the Windows Subsystem for Linux feature. You can then open a command prompt and type «bash» to get started. For more details and instructions, see this blog post by Scott Hanselman, a Microsoft employee who demonstrated Bash on Windows 10 at Build.