Analysis updated 2026-06-24
Replace a slow default Zsh prompt with one that shows Git branch and change status without any typing lag.
Get automatic command timing in your shell so slow-running commands always show how long they took.
See clear indicators for staged, unstaged, and untracked Git changes at a glance in your terminal prompt.
| sindresorhus/pure | trimstray/nginx-admins-handbook | daocloud/public-image-mirror | |
|---|---|---|---|
| Stars | 14,236 | 14,147 | 14,079 |
| Language | Shell | Shell | Shell |
| Setup difficulty | easy | moderate | easy |
| Complexity | 1/5 | 3/5 | 2/5 |
| Audience | developer | ops devops | ops devops |
Figures from each repo's GitHub metadata at analysis time.
Pure is a minimal command-line prompt for Zsh, a popular Unix shell. The prompt is the line of text you see in your terminal before you type each command. Pure replaces the default prompt with a cleaner, faster one. The key features are speed and useful information without visual clutter. It shows your current Git branch and whether you have unsaved changes, using small symbols to indicate staged changes, unstaged changes, and untracked files. If your local branch is ahead of or behind the remote version, arrows appear to tell you. If a command takes a long time to finish, the elapsed time shows up automatically. In SSH sessions the prompt also shows your username and hostname. The prompt symbol turns red when the previous command failed. Git status checks run in the background so they do not slow down the prompt while you wait. You can configure which symbols are used, how long a command must run before the time is displayed, and whether untracked files count toward the dirty indicator. Optional integrations show your current Node.js version or indicate when you are inside a Nix shell. Installation is straightforward: you can use npm, Homebrew, or clone the repository manually, then add a couple of lines to your Zsh configuration file. The README covers each method with exact commands. Pure requires Git 2.15.2 or newer and Zsh 5.2 or newer. The project is maintained by Sindre Sorhus and has a companion testing library called Snappy for verifying prompt behavior. It is one of the most widely used Zsh prompts and serves as a starting point for custom prompt designs.
Pure is a minimal, fast Zsh prompt that shows your Git branch, staged and unstaged changes, command timing, and SSH info in a clean display without slowing down your terminal.
Mainly Shell. The stack also includes Shell, Zsh.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.