Can't configure p10k using oh my zsh : zsh: command not found: p10k

21,154

Solution 1

Install Powerlevel10k manually.

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

This method of installation won't make anything slower or otherwise sub-par.

powerlevel10k manual

Solution 2

Most probably this step of cloning powerlevel10k is already done:

git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k

The problem is in the command mentioned in powerlevel10k README file. It should be

echo 'source ~/.oh-my-zsh/custom/themes/powerlevel10k/powerlevel10k.zsh-theme' >>~/.zshrc
Share:
21,154

Related videos on Youtube

Hukify
Author by

Hukify

Updated on July 09, 2022

Comments

  • Hukify
    Hukify almost 2 years

    I wanted to install the p10k theme in my terminal but I get an error.

    ➜  ~ p10k configure
    zsh: command not found: p10k
    

    I have no clue on what the issue is.
    Thanks for your time :),
    Hukyfi