Navigate to Settings. ...
Click Update & #security.
Select For #Developers in the left column.
Navigate to the Control Panel (the old Windows control panel). ...
Select Programs and Features. ...
Click "Turn #Windows features on or off."
Toggle "Windows Subsystem for #Linux" to on and click Ok.
Click the Restart Now button.
https://ibmimedia.com/explore/bash-in-windows