A minimal and highly customizable Zsh prompt that shows Git status, runtimes, Docker and Kubernetes context and more.
open sourceMIT
Spaceship is a customizable prompt for Zsh. It shows the hostname and user, Git and Mercurial status, the versions of language runtimes and packages in the current directory, Docker and Kubernetes context, battery level and background jobs, and you can add sections of your own. It installs through Homebrew, npm, Oh My Zsh or a Zsh plugin manager, and needs a Powerline or Nerd Font.
Ways to install
Package managers
Problems it solves
- show my Git branch and status in my Zsh prompt
- a nicer Zsh prompt that shows which Node or Python version I'm using
- see my current Kubernetes context in the terminal prompt
Features
- Git and Mercurial status in the prompt
- versions of Node.js, Rust, Python, Ruby, Go and other runtimes
- Docker version and Kubernetes context
- custom sections of your own
Limitations
- Needs Zsh 5.2 or later and a Powerline or Nerd Font in the terminal2
Alternatives
The same job
These do what Spaceship does.
- Starship The minimal, blazing-fast, and infinitely customizable prompt for any shell!
- Oh My Posh The most customizable and fastest prompt engine for any shell
- Oh My Zsh Community framework for managing your Zsh configuration, with 300+ plugins and 140+ themes
- Powerlevel10k Fast, highly customizable prompt theme for Zsh
- Powerline Statusline and prompt framework for Vim, shells, tmux and window managers
- Pure A pretty, minimal and fast Zsh prompt