Skip to content

Instantly share code, notes, and snippets.

@motamed
Last active May 9, 2017 10:49
Show Gist options
  • Save motamed/a229b6be5be7552f3966f1d54f9da25a to your computer and use it in GitHub Desktop.
Save motamed/a229b6be5be7552f3966f1d54f9da25a to your computer and use it in GitHub Desktop.
How to Enable Bash on Ubuntu on Windows

How to enable Bash on Ubuntu on Windows

Minimum Requirment

  • Windows 10 Anniversary Update
  • 64 bit



Enable Developer mode

Navigate to ...

Setting > Update & Security > For developers




Enable Windows Subsytem for Linux

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.”

Click “Restart Now” to reboot your computer and Windows 10 will install the new feature.




Install From CMD

Open Command Line or Powershell and execute the following command

 lxrun /install /y



Using bash on Ubuntu on Windows

After finishing the installation goto

Start > bash on ubuntu on windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment