How To Install Windows Subsystem For Linux (Bash) On Windows 10

(Formerly Known as Bash for Windows) *Windows Subsystem for Linux*offers to the end user an operating system containerized in a modern app, making the process smooth and simple without requiring docker or any hyper-visor with all the benefits of native integration (windows is mounted on /mnt/c/) and a small footprint.The installation requires to enable a optional windows feature (Microsoft-Windows-Subsystem-Linux) and to download from the Windows Store your favourite distro (ubuntu, kali, debian, suse, etc..).1.Enable Windows Feature for WSL:Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux2. Download your favourite Linux Image from MS Store:Invoke-WebRequest -Uri https://aka.ms/wsl-ubuntu-1604 -OutFile ~/Ubuntu.appx UseBasicParsing Add-AppxPackage -Path ~/Ubuntu.appxUbuntu.exe3. When you launch the app for the first time you need to configure the USER. Wait for installation to complete then you will be prompted to create your LINUX user account.4. Run WSL in the cmd prompt and powershell5. Use WSL Config to manage multiple Distros wslconfig.exe
Prerequisites include:
Windows 10