Oh my Zsh (Mac OS / Linux) – Install + Config

If Zsh shell is not previously installed:

$ sudo apt install zsh

Change the default shell:

$ chsh -s /bin/zsh
# usermod --shell /usr/bin/zsh <username>

Note: This process will need to be done for every user in the system that wants to use this shell (root included)

Install Oh My Zsh

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

PowerLevel10k ZSH theme


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

Add the powerlevel10k theme to the ZSH configuration

$ vim .zshrc

Powerlevel10k configuration

First execution after adding it into the .zshrc a config menu will appear asking different questions to visually configure it.

If you need to execute this configuration wizard manually just run: p10k configure


According to its documentation:

«Powerlevel10k doesn’t require custom fonts but can take advantage of them if they are available.

If you are using iTerm2 or Termux, p10k configure can install the recommended font for you. Simply answer Yes when asked whether to install Meslo Nerd Font.

Manual installation:

Download fonts files and click to install them.



~ git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
~ git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *