starship

336 2026-08-14 note ♑︎

starship is a minimal, fast, and customizable prompt for any shell. It's written in Rust and provides informative prompts while staying extremely fast. starship works with fish, bash, zsh, and other shells.

Installation

brew install starship

Setup

Add to your shell configuration:

For fish:

starship init fish | source

For bash:

eval "$(starship init bash)"

For zsh:

eval "$(starship init zsh)"

Configuration

Configuration lives in ~/.config/starship.toml. The file is reloaded automatically when saved.

For detailed configuration options, see starship Configuration.

Modules

starship uses modular components for different information types. For module-specific configuration, see starship Modules.

Performance

starship is designed for speed:

Custom Presets

starship includes built-in presets:

# Apply a preset
starship preset gruvbox-rainbow -o ~/.config/starship.toml

# Available presets
starship preset pastel-powerline -o ~/.config/starship.toml
starship preset nerd-font -o ~/.config/starship.toml
starship preset no-nerd-font -o ~/.config/starship.toml

starship provides a beautiful, fast, and customizable prompt that works across different shells and environments, making it an excellent choice for developers who want informative prompts without sacrificing performance.

Resources