Install Bash on Windows 10


Windows 10’s Anniversary Update comes with  a big new feature for developers:

A full, Ubuntu-based

Bash shell that can run Linux software directly on Windows. This is made possible by the new

Windows Subsystem for Linux” Microsoft is adding to Windows 10.






This isn’t a virtual machine, a container, or Linux software compiled for Windows (like Cygwin).

Instead, Windows 10 gains a Windows Subsystem for Linux, which is based on Microsoft’s

abandoned Project Astoria work for running Android apps on Windows.


How to Install Bash on Windows 10

First , we need to make sure to get Windows 10’s Anniversary Update


Then we need to activate developer mode in Settings -> Update & Security > For Developers



Next, wee need install Bash For Ubuntu , open the Control Panel, click “Programs,” and click “Turn Windows Features On or Off” under Programs and Features. Enable the “Windows Subsystem for Linux (Beta)” option in the list here and click “OK.”




NB : you need to restart your computer after each step




after entring the program just type bash

NB :  you can use apt-get to install php , mysql .... is'nt that awesome ?

Comments

Popular posts from this blog

Twitter API with PHP

Realtime Chat Application with CakePHP and Socket.IO #1

Let's build a mobile application with Ionic Framework #3