How to Make Ubuntu Terminal Look like Kali Linux

Last updated: December 22, 2022 | Linuxopsys

Kali Linux and Ubuntu are the two most popular Linux distributions. Ubuntu is a general-purpose Linux distribution that is popular among developers and students, though it is not limited to these groups, whereas Kali Linux is popular in the world of cybersecurity and ethical hacking.

There are a few visual differences between the Ubuntu terminal and the Kali Linux terminal. While the default Ubuntu terminal is functional, sometimes Ubuntu users may prefer the look of the Kali Linux terminal. In this guide, we learn how to make your Ubuntu terminal look like Kali Linux terminal.

1. Installing required packages

The first step in making your Ubuntu terminal look like Kali's is to install zsh shell, zshell plugins and some additional tools if not already pre-installed

Installing ZSH on Ubuntu

The Z shell is a Unix shell that was developed as an extension to BASH (Bourne shell) in the early 90s. Z shell is an interactive shell that incorporates many features of other Unix/GNU Linux shells like bash, fish, dash and ksh.

It also has a powerful scripting language, just like the other shells. Despite this, it has some distinguishing characteristics, which include:

  • Autocomplete for command names
  • spelling corrections.
  • Extensible via plugins.
  • running shells can share the same history.
  • supports several compatibility modes.
  • Better variable and array handling.
  • support themes
  • Create filenames based on the conditions you provide.

Before installing z shell, you must first update your system by running the following command:

sudo apt update

After successfully updating your system, run the following command to install zshell.

sudo apt install zsh

Once zsh has been installed, simply run the zsh command to switch from the bash prompt to the zsh prompt. When you run the command, you will see a z shell configuration prompt (select option zero from the prompt and hit enter to apply)

switch bash to zsh

Installing zshell plugins

Next, we'll need to install a few z shell plugins to add some useful functionality to our z shell. Here are the three plugins that will be installed.

  • zsh-syntax-highlighting - This plugin highlights syntax in the z shell. It allows command highlighting when typing at a z shell prompt. This is useful for reviewing commands before running them, notably in spotting syntax errors.
  • zsh-autosuggestions - this plugin suggests commands to you as you enter them based on your previous commands and completions.

Open your Ubuntu terminal and type the following command:

sudo apt install zsh-syntax-highlighting zsh-autosuggestions

This command will download and install all of the z shell plugins listed.

Installing fonts, qterminal and gnome-tweaks

The last things you need to install are:

  • qterminal - a lightweight Qt terminal emulator based on QTermWidget, by default Ubuntu uses gnome terminal.
  • fonts-firacode - a free monospaced font with ligatures for common multi-character programming combinations.
  • gnome-tweaks - this is a must-have tool for any GNOME user. It allows you to customize the appearance and functionality of your desktop.

To install all these run the following command:

sudo apt install qterminal fonts-firacode gnome-tweaks

2. Changing the default login shell

Now that you've installed z shell and its plugins, you'll need to make it your default login shell. To accomplish so, we'll use the chsh (change shell) command. chsh is a powerful tool used to change a login shell. There is no need to install the chsh command because it is a standard package that comes pre-installed on all Linux distributions.

Run the following command to change your default login shell to z shell:

Please keep in mind that this command will permanently change your default login shell to the one you specify.

chsh -s /bin/zsh

Before you can make any changes, you must first enter your username password. Log out and then back in to see the changes; the bash prompt will be replaced with the zsh prompt.

bash prompt to zsh prompt

3. Customizing ubuntu zshell

Now that you've installed all of the tools needed to customize your Ubuntu terminal. It's time to start customizing your Ubuntu terminal. Follow these steps to accomplish it.

Step 1. Modifying the zshrc file

You need to tweak the zshrc file in order to customize it's appearance. This file is a hidden file in your home directory (~/.zshrc). The .zshrc file is a startup file equivalent for bashrc file for bash (Bourne Again shell) that is used to customize and configure the z shell.

This file may not be available at times, so you must create it; if it is already available, delete it and create a new one because you will need to override its contents.

To delete the file run the following command:

rm ~/.zshrc

and to create a new file simply run this command:

touch ~/.zshrc

After you have successfully created the .zshrc file, open it with your preferred text editor, copy and paste the contents of this pastebin into your .zshrc file, and save.

To make the changes take effect, source your .zshrc file with the source or dot (.) command, or simply close and reopen your terminal.

$ source .zshrc
$ . .zshrc
 source .zshrc file

Step 2. Downloading color schemes and themes

Next clone the compressed kali linux color schemes and themes from. To do so run this command:

git clone

Once the repository has been cloned, cd into it.

cd ubuntu-to-kali-terminal

Next, extract the compressed files, once you have extracted all the files you will notice a new directory name "usr" in your current working directory.

tar -xvf color-schemes.tar
tar -xvf kali-dark-theme.tar

You must now remove the qtermwidget5 directory located in the /usr/share directory and replace it with one from the extracted tar file.

sudo rm -rf /usr/share/qtermwidget5
sudo mv -f usr/share/qtermwidget5 /usr/share

Step 3. Changing Qterminal settings

Open your Qterminal preferences: Change the color scheme to Kali-Dark and then press the Apply button, this will change the terminal theme to that one of Kali. Also, at the bottom of your terminal's Appearance settings, adjust the "Application transparency" from "0%" to "5%," the same as on Kali, and click apply for the changes to take effect.

After you've made the changes, your qterminal should look like this:

All that remains is to change your entire system theme, which can be accomplished by moving the Kali-Dark directory from the directory you previously extracted to /usr/share/themes directory.

sudo mv -f usr/share/themes/Kali-Dark /usr/share/themes 

To apply the theme, open gnome-tweaks by running the following command:


From the gnome-tweaks window, you will see various options for tweaking your system. Go to appearance and look for "Legacy Applications," then change your theme to Kali-Dark.

This is how your qterminal should look after switching to the Kali-Dark theme:

qterminal look like kali Linux

Customizing gnome terminal

If you are not satisfied with the appearance of qterminal after customizing it, you can customize the gnome terminal that comes with Ubuntu. To do this customization, you must first install the following tools:

  • dconf-cli - DConf is a low-level key/value database that is used to store desktop environment settings. This package includes the command-line tools required to configure and modify the database.
  • uuid-runtime - This package contains tools for generating and parsing 128-bit Universally Unique Identifiers (UUIDs) (UUIDs).
  • curl - command-line utility for transferring data over various network protocols.
sudo apt install dconf-cli uuid-runtime curl

After the packages have been installed run the following command to install the "Kali Dark" color scheme:

bash -c "$(curl -fsSL"

To change your terminal theme right click on your terminal window and choose the "Kali-Dark" profile:

ubuntu gnome-terminal look like kali

Remember that the system theme should also be "Kali-Dark", and that you can change it with gnome tweaks.


This is enough to make your Ubuntu terminal look the same as Kali, however if you need to do some additional configuration to improve your personal experience you might need to install oh my zsh. You can find oh my zsh installation procedure on its official website.

The ability to customize Linux operating systems is the primary advantage over other operating systems. Because it is an open-source operating system, you can customize any feature, add or remove any feature based on your needs and personal experience.



Please add comments below to provide the author your ideas, appreciation and feedback.

Leave a Reply

Leave a Comment