Install bash on windows with a few steps.
First, why would you want to do this?
- You’re moving to Windows from macOS or a Linux distribution and used the command line there.
- You like the bash shell for aliass, functions, Etc.
Let’s do it.
- Click the Start button
- Search for PowerShell
- Right-click the Windows PowerShell icon
- Choose Run as Administrator
- Run this shell command
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Reboot!
Alternatively, install Cygwin.