# Powerlevel10k

> Zsh prompt theme with an interactive configuration wizard, instant prompt at shell startup, Git status segments, and Powerlevel9k config compatibility.

Stars: 55.3k · Language: Shell · License: MIT · Categories: Shell

- Repository: https://github.com/romkatv/powerlevel10k
- Page: https://www.trmn.sh/tools/powerlevel10k

## Overview

Powerlevel10k is a theme for Zsh that renders the shell prompt. Running `p10k configure` starts a built-in configuration wizard that writes `~/.p10k.zsh`, a commented file where further customization is done. Prompt styles include a Pure-compatible style, and the recommended Meslo Nerd Font patched for Powerlevel10k unlocks all styles. The README states the project has very limited support, with no new features planned and most bugs unlikely to be fixed.

The prompt is built to avoid lag. Segments such as Git status, timewarrior tracking, and the pyenv Python version update on the very next prompt after a command like `touch x y` or `echo 3.7.3 >.python-version`. The README says other themes either lag or show stale data and refresh it later. Instant Prompt, enabled through `p10k configure` or manually, prints the prompt immediately at Zsh startup so you can type while slow plugins such as pyenv or nvm are still loading.

Other documented features include Show on Command, which displays segments only when the command being typed uses certain tools (for example `POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND='kubectl|helm|kubens'`). Transient Prompt trims earlier prompts after a command is accepted, which makes copying commands from scrollback easier. The current directory segment truncates to the shortest unique prefix and highlights important segments such as Git repository roots. Powerlevel10k also recognizes all Powerlevel9k `POWERLEVEL9K` configuration parameters, so existing configs can migrate.

It is aimed at Zsh users who want a customizable, fast prompt with Git, Kubernetes, and cloud context information, including people migrating from Powerlevel9k or Pure.

![Powerlevel10k configuration wizard](https://media.trmn.sh/cached/e7652e7b9897005c76fdd5b35a748b2ab3b0607552aaac10c82483724c43c2d8.gif)

![Powerlevel10k instant prompt](https://media.trmn.sh/cached/79bb099aa80c541df05cbd93b78db0e084320f664d5bdc53ed42bdd71138fa5b.gif)

![Powerlevel10k show on command](https://media.trmn.sh/cached/cad93eecfabd119c1798fec3d0d60640dd3ad6c7a1bf3b122c5c3b302a2f0bec.gif)

## Alternatives

- [zsh-autosuggestions](https://www.trmn.sh/tools/zsh-autosuggestions.md): Zsh plugin that shows inline command suggestions after the cursor, drawn from history and tab-completion, in the style of Fish. (Shell, 36.2k stars)
- [Spaceship Prompt](https://www.trmn.sh/tools/spaceship-prompt.md): Customizable Zsh prompt that shows Git/Mercurial status, language runtime versions, Docker, Kubernetes, battery and more, with support for custom sections. (Shell, 20.6k stars)
- [tpm](https://www.trmn.sh/tools/tpm.md): Tmux Plugin Manager: installs, updates, and removes tmux plugins from GitHub or other git repositories, configured via ~/.tmux.conf. (Shell, 15.1k stars)
- [Pure](https://www.trmn.sh/tools/pure.md): ZSH prompt that shows git branch, dirty state, and async-checked unpushed/unpulled arrows, with exit-status coloring and command execution time. (Shell, 14.5k stars)
- [Oh My Zsh](https://www.trmn.sh/tools/ohmyzsh.md): Community-maintained framework for managing zsh configuration, with 300+ plugins, 140+ themes, and a built-in updater. (Shell, 190.2k stars)

---

Canonical: https://www.trmn.sh/tools/powerlevel10k
