Starship – Cross-Shell Prompt

Starship is a minimal, blazing-fast, and infinitely customizable prompt for any shell. Written in Rust,...

Terminal Tools Linux Open Source
Download

Starship is a minimal, blazing-fast, and infinitely customizable prompt for any shell. Written in Rust, it works with Bash, Zsh, Fish, PowerShell, and more.

Key Features

  • Fast: Written in Rust for speed
  • Cross-Shell: Works with any shell
  • Customizable: TOML configuration
  • Context-Aware: Shows relevant info
  • Icon Support: Nerd Font glyphs

Installation

Install Starship:

curl -sS https://starship.rs/install.sh | sh

# Add to ~/.bashrc
eval "$(starship init bash)"

# Or ~/.zshrc
eval "$(starship init zsh)"

Usage Examples

Configure in ~/.config/starship.toml:

[character]
success_symbol = "[➜](bold green)"
error_symbol = "[➜](bold red)"

[git_branch]
symbol = " "
style = "bold purple"

[nodejs]
symbol = " "

[directory]
truncation_length = 3
truncate_to_repo = true

Benefits

Starship delivers a beautiful prompt across all shells. Its context-aware modules show only relevant information, keeping the prompt clean and informative.

Download Starship

Was this article helpful?