Open In App

How to Customize Linux Terminal Using powerlevel10k?

Improve
Improve
Like Article
Like
Save
Share
Report

Sometimes we get bored with the normal Linux Terminal and feel like if we can customize the same, so we can use powerlevel10k for that. It is a theme for ZSH. It changes normal shell commands to colorful commands. To install powerlevel10k we need to install Oh My Zsh, both are open-source in GitHub. We can also use nerd font to make the powerlevel10k theme font more beautiful.

Install Oh My Zsh

To install Oh My Zsh open terminal and run

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Install Oh My Zsh

 If this curl installation method shows any error use wget method 

sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Install powerlevel10k

powerlevel10k theme installation becomes easy if oh my zsh is installation successful. Just run these two commands.

git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
Install Powerline10k

install powerlevel10k

In another way, we can install it directly from GitHub and set it up 

git clone --depth=1 https://gitee.com/romkatv/powerlevel10k.git ~/powerlevel10k
echo 'source ~/powerlevel10k/powerlevel10k.zsh-theme' >>~/.zshrc

Install Nerd Font For powerlevel10k & Setup It

powerlevel10k works well with nerd font they also recommend using nerd font, and it is easy to install the font in Linux. To install nerd font go to the official nerd font GitHub page https://github.com/ryanoasis/nerd-fonts and download font example Hack Nerd Font, JetBrains Mono Nerd Font, Ubuntu Nerd Font, etc.

Install Nerd Font For Powerline10k & Setup It

Install “Hack Nerd  Font Regular”

To set up it nerd font in terminal open terminal preferences and change the custom font to Hack Nerd Font Regular

Install Nerd Font For Powerline10k & Setup It

change custom font to Hack Nerd Font RegularSetup

Setup powerlevel10k Theme

After update powerlevel9k to powerlevel10k, it becomes easy to set up a theme. Do just type “p10k configure” in your terminal after choose options how you want to give looks to your terminal

Setup Powerline10k Theme

powerlevel10k setup process

Note: If the installation fails then just restart your OS again try to install powerlevel10k


Last Updated : 01 Jun, 2021
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads