Install Ubuntu BASH on Windows 10

From Bonus Bits
Jump to: navigation, search

Purpose

This article gives the steps to install BASH (Linux Bourne Against Shell) on Windows 10 using built-in Linux Subsystem support and Microsoft Store.


Enable Developer Mode

  1. Open Settings
  2. Browse to Updates & Security | For Developers (on left)
  3. Select Developer Mode radio button
  4. Yes
  5. Reboot


Add Linux Base Feature

  1. Open Control Panel
  2. Select Programs
  3. Select Turn Windows features on or off
  4. Check box for Windows Subsystem for Linux
  5. Reboot


Install Linux Distro from Microsoft Store

I prefer Ubuntu out of the four distributions they had available when writing this. So, that's what I'll use in my example, but I'm sure you could use the other flavors in the same manner if you wish.

  1. Open Microsoft Store
  2. Search for Ubuntu
  3. Select the version you want
  4. Install
  5. Reboot


Create User

Then you'll need to create a default UNIX user account. This account doesn't have to be the same as your Windows account. For more information visit: https://aka.ms/wslusers

  1. Launch Ubuntu Shell
  2. Type <username>
  3. Enter password twice
  4. Done

Ubuntu shell on windows10


Related Articles


Sources