Since Microsoft started planning too edifice Windows 10, they’ve been talking to a lot of users almost what users would similar to run into inwards Windows to move far a cracking house for users to construct awesome apps, sites too services for all platforms too all devices. Many users told Microsoft that working alongside open-source tools on Windows is ofttimes a care too that users would similar Microsoft to move far easier to role these tools on Windows. So it seems that in conclusion Microsoft is bringing bash on Windows 10!
Based on users feedback Microsoft has done a dyad things:
- First Microsoft made investments that meliorate cmd, PowerShell, too many other command-line tools too developer scenarios.
- Second Microsoft decided to grow our ascendence trace of piece of occupation household unit of measurement past times adding real, native Bash too alongside it back upwards for Linux command-line tools which run straight on Windows inwards an environs that behaves similar Linux!
To attain this, Microsoft built novel infrastructure inside Windows – the Windows Subsystem for Linux (WSL) – upon which Microsoft run a genuine Ubuntu user-mode picture provided past times our cracking partners over at Canonical, creators of Ubuntu Linux.
In our journey to convey gratis software to the widest possible audience, this is non a minute Microsoft could accept predicted. Nevertheless, Microsoft are delighted to stand behind Ubuntu for Windows, committed to addressing the needs of Windows developers exploring Linux inwards this amazing novel way, too are excited at the possibilities heralded past times this unexpected plough of events.”
— Mark Shuttleworth, founder of Canonical
The trial is that users tin instantly run native Bash on Ubuntu on Windows!
You tin instantly run Bash scripts, Linux command-line tools similar sed, awk, grep, too users tin fifty-fifty attempt Linux-first tools similar Ruby, Git, Python, etc. straight on Windows. You tin also access your Windows filesystem from inside Bash allowing users to run on the same laid upwards of files using your preferred Windows tools or Linux command-line tools:
Caveat Emptor (Buyer Beware!)
While we’re excited for users to attempt out this novel technology, which volition get-go acquire available inwards Windows 10 “Insiders” builds later the Build conference, Microsoft desire to last clear almost a few things:
- First, this is the get-go fourth dimension we’re releasing this engineering scientific discipline – it’s marked every bit beta for a reason: We know that at that spot are around fossil oil edges too that around things volition break! Do non await every Bash script too tool that users run volition run perfectly – at that spot volition last gaps. But past times trying out this feature, you’ll care us figure out what Microsoft demand to run on inwards companionship to greatly meliorate our reliability, coverage, too reach.
- Second, piece you’ll last able to run native Bash too many Linux command-line tools on Windows, it’s of import to depository fiscal establishment complaint that this is a developer toolset to care users write too construct all your code for all your scenarios too platforms. This is non a server platform upon which users volition host websites, run server infrastructure, etc. For running production workloads on Ubuntu, Microsoft accept around cracking solutions using Azure, Hyper-V, too Docker, too Microsoft accept cracking tooling for developing containerized apps inside Windows using Docker Tools for Visual Studio, Visual Studio Code too yo docker.
- Third, depository fiscal establishment complaint that Bash too Linux tools cannot interact alongside Windows applications too tools, too vice-versa. So users won’t last able to run Notepad from Bash, or run Ruby inwards Bash from PowerShell.
But wait, there’s more!
Existing command-line tools are instantly greatly improved thank you lot to investments made inwards the Windows Console. Microsoft has significantly improved rendering performance, added back upwards for to a greater extent than VT-100 sequences, too how it handles complex text layout. Microsoft has also made around cardinal improvements inwards how the Console handles High-DPI screens.
These improvements straight produce goodness cmd prompt, PowerShell, novel tools similar Bash, the novel Windows Docker client, too many other existing Microsoft too 3rdparty command-line tools.
Related Build 2016 Content
If you’d similar to acquire more, you lot tin sentinel Kevin Gallo’s keynote proclamation too demonstrate of running Bash on Ubuntu on Windows at Build 2016.
Also, Rich Turner too Russ Alexander recorded a Build 2016 session introducing too demonstrating Bash running on Ubuntu on Windows.
Microsoft is looking forrad to working alongside users to meliorate the Windows command-line tools too console:
Please proceed to propose features etc. via their Windows Command-line UserVoice portal too rest tuned for lots to a greater extent than intelligence on Microsoft’s new command-line blog and command-line documentation portal for content too links to resources.
Source: https://blogs.windows.com/buildingapps/2016/03/30/run-bash-on-ubuntu-on-windows/