Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/romkatv/powerlevel10k/llms.txt

Use this file to discover all available pages before exploring further.

Powerlevel10k can be installed in a variety of ways. If you are unsure which method to choose, use the Manual method — it works alongside any plugin manager and is the most reliable option. After installation, restart Zsh with exec zsh and the configuration wizard will start automatically; if it does not, run p10k configure.
Powerlevel10k is in limited-support mode. No new features are planned and most bugs will go unfixed. It remains fully functional for existing and new installs.
Install the recommended MesloLGS NF font before running p10k configure to unlock all prompt styles.

Installation Methods

The manual installation method works even if you already use a plugin manager. If your plugin manager has a theme active, disable it first to avoid conflicts.
1

Clone the repository

git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k
China mirror — Users in China can use the official mirror on gitee.com for faster download. 中国用户可以使用 gitee.com 上的官方镜像加速下载.
git clone --depth=1 https://gitee.com/romkatv/powerlevel10k.git ~/powerlevel10k
2

Source the theme from ~/.zshrc

echo 'source ~/powerlevel10k/powerlevel10k.zsh-theme' >>~/.zshrc
3

Restart Zsh and configure

exec zsh
The configuration wizard starts automatically. If it does not, run p10k configure.

Post-Install: First-time Configuration

After installing and restarting Zsh with exec zsh, the configuration wizard will start automatically and guide you through choosing a prompt style. If it does not appear, run:
p10k configure
The wizard creates ~/.p10k.zsh based on your answers. You can rerun it at any time to change your prompt style.
Do not use source ~/.zshrc to apply changes — this can cause random errors and progressive slowdown. Always use exec zsh or open a new terminal session instead.

Updating Powerlevel10k

The update command depends on how Powerlevel10k was installed. After updating, restart Zsh with exec zsh.
InstallationUpdate Command
Manualgit -C ~/powerlevel10k pull
Oh My Zshgit -C "${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k" pull
Preztozprezto-update
Zimzimfw update
Antigenantigen update
Antidoteantidote update
Zplugzplug update
Zgenzgen update
Zpluginzplugin update
Zinitzinit update
Zizi update
Zapzap update
Homebrewbrew update && brew upgrade
Arch Linuxyay -S --noconfirm zsh-theme-powerlevel10k-git
Alpine Linuxapk update && apk upgrade
Restart Zsh after updating. Do not use source ~/.zshrc.

Uninstalling Powerlevel10k

1

Remove p10k references from ~/.zshrc

Remove the instant-prompt snippet at the top of ~/.zshrc if present:
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
  source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
And remove the config-sourcing line at the bottom if present:
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
2

Remove powerlevel10k references from config files

Remove all references to powerlevel10k from ~/.zshrc, ~/.zpreztorc, and ~/.zimrc (some of these files may be missing — this is normal).
3

Verify all references are gone

grep -E 'p10k|powerlevel10k' ~/.zshrc ~/.zpreztorc ~/.zimrc 2>/dev/null
If this command produces output, there are still references that need to be removed.
4

Delete the configuration file

rm -f ~/.p10k.zsh
5

Delete Powerlevel10k source files

The command depends on which installation method you used:
InstallationUninstall Command
Manualrm -rf ~/powerlevel10k
Oh My Zshrm -rf -- "${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k"
Prezton/a
Zimzimfw uninstall
Antigenantigen purge romkatv/powerlevel10k
Antidoteantidote purge romkatv/powerlevel10k
Zplugzplug clean
Zgenzgen reset
Zpluginzplugin delete romkatv/powerlevel10k
Zinitzinit delete romkatv/powerlevel10k
Zizi delete romkatv/powerlevel10k
Zapzsh -ic 'zap clean'
Homebrewbrew uninstall powerlevel10k
Arch Linuxyay -R --noconfirm zsh-theme-powerlevel10k-git
Alpine Linuxapk del zsh-theme-powerlevel10k
6

Restart Zsh

exec zsh
7

Delete cache files

rm -rf -- "${XDG_CACHE_HOME:-$HOME/.cache}"/p10k-*(N) "${XDG_CACHE_HOME:-$HOME/.cache}"/gitstatus

Installing Without Internet Access

If you need to install Powerlevel10k on a machine that has no internet connection, follow these steps. You will need a second machine with internet access to prepare the files.
1

Identify the target machine's OS and architecture

Run this command on the machine without internet access:
uname -sm | tr '[A-Z]' '[a-z]'
Note the output (e.g. linux x86_64).
2

Prepare files on an internet-connected machine

On a machine with internet access, replace target_uname with the output from the previous step:
target_uname="replace this with the output of the previous command"
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k
GITSTATUS_CACHE_DIR="$HOME"/powerlevel10k/gitstatus/usrbin ~/powerlevel10k/gitstatus/install -f -s "${target_uname% *}" -m "${target_uname#* }"
3

Copy the files to the offline machine

Transfer the ~/powerlevel10k directory from the internet-connected machine to the machine without internet access (for example, using scp, a USB drive, or any other transfer method).
4

Source the theme on the offline machine

echo 'source ~/powerlevel10k/powerlevel10k.zsh-theme' >>~/.zshrc
5

Remove any existing ZSH_THEME setting

sed -i.bak '/^ZSH_THEME=/d' ~/.zshrc
To update on an offline machine, remove ~/powerlevel10k on both machines and repeat the steps above.

Build docs developers (and LLMs) love