Install and update Bash on Windows

Posted by


(sorry for the Swedish in the screenshot, bash obviously does not understand my language settings)
54 package updates. 30 updates are security related

As you probably already know, there is Linux on your Windows 10 computer! If you have not already installed it’s quite simple head over to the old Control Panel and enable Windows Subsystem for Linux (Beta) in the Windows Features.


Now start bash from the start menu and it will install or use bash from the command prompt to start bash in your current directory

But what about automatic installations? Sure, there are commands for this as well

lxrun /install /r

There is also an option to update the subsyste

lxrun /update


(Sorry for the Swedish)

There is also an option to change the default user and uninstall the subsystem


To upgrade and manage bash on Ubuntu, ordinary Linux commands must be used, so to update bash use these commands

sudo apt-get update

sudo apt-get upgrade

You may be asked for your password, and this password may not the same as your Windows password, during installation you entered username and password for bash

What about you? Are you using Bash on Ubuntu on Windows? What do you think?


Leave a comment

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.