There is an ability to run Linux natively in Windows 10. It is provided by the WSL feature. WSL stands for Windows Subsystem for Linux, which initially, was limited to Ubuntu only. Starting with Windows 10 Fall Creators Update, the WSL feature received many improvements, including the ability to install various Linux distros from the Store. Here is how to make the WSL console look like a native Ubuntu terminal with appropriate colors and fonts.
In Windows 10 Fall Creators Update, Windows Subsystem for Linux is finally out of beta. Not only can you install and run multiple Linux distros, but also for your convenience, they are available right in the Microsoft Store (formerly known as the Windows Store). As of this writing, you can install openSUSE Leap, SUSE Linux Enterprise, and Ubuntu.
Every time you open a new Bash console in Windows 10, it preserves the appearance of the command prompt (cmd.exe). However, it is possible to apply Ubuntu's fonts and colors to the bash window, so it will look like a regular Ubuntu terminal. Let's see how it can be done.
How to make WSL look like the Ubuntu terminal in Windows 10
Step 2: Unpack the contents of the ZIP archive to any folder you want.
Step 3: Double-click the install.vbs file. This will install the Ubuntu font and the appropriate color scheme for the command prompt console.
Now, open Bash on Ubuntu (or any other Linux distro you have installed in WSL). You will get something like this:
The package includes the following fonts:
- “UbuntuMono-B.ttf” — the Ubuntu Mono font’s bold variant,
- “UbuntuMono-BI.ttf” — the Ubuntu Mono font’s bold and italicized variant,
- “UbuntuMono-R.ttf” — the Ubuntu Mono font’s regular variant;
- “UbuntuMono-RI.ttf” — the Ubuntu Mono font’s italicized variant.
The color scheme comes with the following presets:
Red: 48, Green: 10, Blue: 36
Red: 52, Green: 101, Blue: 164
Red: 78, Green: 154, Blue: 6
Red: 6, Green: 152, Blue: 154
Red: 204, Green: 0, Blue: 0
Red: 117, Green: 80, Blue: 123
Red: 196, Green: 160, Blue: 0
Red: 211, Green: 215, Blue: 207
Red: 85, Green: 87, Blue: 83
Red: 114, Green: 159, Blue: 207
Red: 138, Green: 226, Blue: 52
Red: 52, Green: 226, Blue: 226
Red: 239, Green: 41, Blue: 41
Red: 173, Green: 127, Blue: 168
Red: 252, Green: 233, Blue: 79
Red: 238, Green: 238, Blue: 238
See these articles:
- Change Colors in Command Prompt in Windows 10
- Get New Color Scheme in Command Prompt in Windows 10
- Download Color Schemes for Command Prompt in Windows 10
Credits: James Garijo-Garde and Markus Estee.