These applications get access to the Windows file system, but you cant use Bash commands to automate normal Windows programs, or launch Bash commands from the standard Windows command line. They get access to the same Windows file system, but thats it. Not every command line application will work, either, as this feature is still in beta. How to Install Bash on Windows 1. To get started, ensure youve installed the Windows 1. Anniversary Update. This only works on 6. Windows 1. 0, so its time to switch to the 6. Windows 1. 0 if youre still using the 3. Once youre sure youre using the correct version of Windows 1. Settings app and head to Update Security For Developers. Activate the Developer Mode switch here to enable Developer Mode. Next, open the Control Panel, click Programs, and click Turn Windows Features On or Off under Programs and Features. Enable the Windows Subsystem for Linux Beta option in the list here and click OK. After you do, youll be prompted to reboot your computer. Click Restart Now to reboot your computer and Windows 1. After your computer restarts, click the Start button or press the Windows key, type bash, and press Enter. The first time you run the bash. The command will then download the Bash on Ubuntu on Windows application from the Windows Store. Youll be asked to create a user account and password for use in the Bash environment. If youd like to automate the installation of Bash instead, you can run the following command in a Command Prompt window. This will automatically agree to all prompts and set the default user to root with no password lxrun install y. How to Use Ubuntus Bash Shell and Install Linux Software. Youll now have a full command line bash shell based on Ubuntu. Because theyre the same binaries, you can use Ubuntus apt get command to install software from Ubuntus repositories. Youll have access to all the Linux command line software out there, although not every application may work perfectlyespecially in the initial beta releases. To open the Bash shell, just open your Start menu and search for bash or Ubuntu. Youll see a Bash on Ubuntu on Windows application. You can pin this application shortcut to your Start menu, taskbar, or desktop for easier access. If youre experienced using a Bash shell on Linux, Mac OS X, or other platforms, youll be right at home. You dont need to use sudo, as youre given a root shell. The root user on UNIX platforms has full system access, like the Administrator user on Windows. Your Windows file system is located at mntc in the Bash shell environment. Use the same Linux terminal commands youd use to get around. If youre used to the standard Windows Command Prompt with its DOS commands, here are a few basic commands on both Bash and Windows Change Directory cd in Bash, cd or chdir in DOSList Contents of Directory ls in Bash, dir in DOSMove or Rename a File mv in Bash, move and rename in DOSCopy a File cp in Bash, copy in DOSDelete a File rm in Bash, del or erase in DOSCreate a Directory mkdir in Bash, mkdir in DOSUse a Text Editor vi or nano in Bash, edit in DOSIts important to remember that, unlike Windows, the Bash shell and its Linux imitating environment are case sensitive. In other words, File. For more instructions, consult our beginners guide to the Linux command line and other similar introductions to the Bash shell, Ubuntu command line, and Linux terminal online. Youll need to use the apt get command to install and update the Ubuntu environments software. Be sure to prefix these commands with sudo, which makes them run as rootthe Linux equivalent of Administrator. Here are the apt get commands youll need to know Download Updated Information About Available Packages sudo apt get update. Install an Application Package sudo apt get install packagename Replace packagename with the packages name. Uninstall an Application Package sudo apt get remove packagename Replace packagename with the packages name. Search for Available Packages sudo apt cache search word Replace word with a word you want to search package names and descriptions for. Download and Install the Latest Versions of Your Installed Packages sudo apt get upgrade. Once youve downloaded and installed an application, you can type its name at the prompt and press Enter to run it. Check that particular applications documentation for more details. Bonus Install the Ubuntu Font for a True Ubuntu Experience. If you want a more accurate Ubuntu experience on Windows 1. Ubuntu fonts and enable them in the terminal. Download the Ubuntu Font Family from Ubuntus website. Open the downloaded. Ubuntu. Mono R. ttf file. This is the Ubuntu monospace font, which is the only one used in the terminal. Its the only font you need to install. Double click the Ubuntu. Mono R. ttf file and youll see a preview of the font. Click Install to install it on your system. To make the Ubuntu monospace font become an option in the console, youll need to add a setting to the Windows registry. Creating Installer For Wpf Application Tutorial. Open a registry editor by pressing WindowsR on your keyboard, typing regedit, and pressing Enter. Navigate to the following key HKEYLOCALMACHINESOFTWAREMicrosoftWindows NTCurrent. VersionConsoleTrue. Type. Font. Right click in the right pane and select New String Value. Name it 0. 00. Double click the 0. Ubuntu Mono as its value data. Launch a Bash window, right click the titlebar, and select Properties. Click the Font tab and select Ubuntu Mono in the font list. Remember, software you install in the Bash shell is restricted to the Bash shell. You cant access it from the Command Prompt, Power. Shell, or elsewhere in Windows. Software in the Bash shell also cant interact directly with or launch Windows programs, although the Bash environment and Windows have access to the same files on your computer.