How to use Bash after Windows 10 Anniversary Update
My name is Ito and I am an infrastructure engineer.
It's finally here, Windows10 Anniversary Update!
The point that I am particularly interested in the "Windows Subsystem for Linux" .
Bash can be used on Windows.
It seems that people on our development team were also playing around with the evaluation version.
Try the evaluation version of Bash on Ubuntu on Windows | Beyond Inc.
The Anniversary Update will be rolled out to Windows Update one by one, but if you can't wait, you can also update manually.
Please refer to the following for the method.
How to get Windows 10 Anniversary Update | Windows Blog for Japan
I wondered if I would be able to use Bash immediately after updating, but that was not the case, so
I would like to introduce a method that allows you to use Windows Subsystem for Linux after the Anniversary Update
Enable from control panel
First, enable it as a Windows feature from the Control Panel.
Go to [Control Panel] - [Programs and Features] - [Turn Windows features on or off] and
enable "Windows Subsystem for Linux".
Select "Programs and Features"
Select "Turn Windows features on or off"
On the Windows features screen, check "Windows Subsystem for Linux (Beta)" and
press OK.
Press OK to enable it.
After activation, you will need to restart, so please do so.
Switch to developer mode
"Windows Subsystem for Linux" can only be used by developers, so
put Windows in developer mode.
Open the Settings app and go to Update & Security.
(Why did they separate the control panel and the settings app...)
Go to "For developers" and select "Developer mode".
Select developer mode and the packages will be installed.
Once the installation is complete, you will be asked to restart, so do so.
Now you're ready!
Let's finally try using Bash
Start "bash" from the command prompt.
Run the bash command and the installation will begin!
After installation, create a UNIX user.
Create a user and you're done!
Make sure you can use unix commands.
The method was to use Bash after the Anniversary Update.
However, the command prompt is too lame...
First of all, let's figure out how to make it look cool.
Please refer to the commands that can be used here. (This is just an evaluation version)
Try the evaluation version of Bash on Ubuntu on Windows | Beyond Inc.