Starship is the minimal, blazing-fast, and infinitely customizable prompt for any shell!
Starship like the Oh My Zsh but it is a Cross-shell prompt.
Works on the most common shells on the most common operating systems. Use it everywhere!
Brings the best-in-class speed and safety of Rust, to make your prompt as quick and reliable as possible.
Every little detail is customizable to your liking, to make this prompt as minimal or feature-rich as you’d like it to be.
Install Nerd Font
A Nerd Font (opens new window)installed and enabled in your terminal.
For instance, install 3270 Nerd Font
brew tap homebrew/cask-fonts &&
For more details refer to [Nerd Fonts - Iconic font aggregator, glyphs/icons collection, & fonts patcher - https://www.nerdfonts.com/font-downloads].
Install Starship using
Homebrew package managers:
brew install starship
For more details refer to https://starship.rs/guide/#step-1-install-starship.
zsh is the default Shell on macOS. Add the following init script to the end of
~/.zshrc file if not exist.
For more details refer to https://starship.rs/guide/#step-2-set-up-your-shell-to-use-starship
Start a new shell instance, and you should see your beautiful new shell prompt. If you’re happy with the defaults, enjoy!
If you’re looking to further customize Starship:
Configuration (opens new window)– learn how to configure Starship to tweak your prompt to your liking
Presets (opens new window)– get inspired by the pre-built configuration of others
Unable to access battery information
[WARN] - (starship::modules::battery): Unable to access battery information:
starship.toml file if not exist.