Starship
Back to Terminal
StarshipBeginner8 min

Starship Cross-Shell Prompt Setup: A Beautiful Prompt for Every Shell

Why Starship for Your Prompt?

Install and configure Starship, the minimal, fast, and customizable prompt that works with bash, zsh, fish, and PowerShell. Show git status, language versions, and more.

Starship generates your shell prompt from a single TOML file. It detects git branches, language versions, and Kubernetes context — showing only what matters in the current directory.

By the end of this 8 min guide, you'll have a working Starship setup and practical Starship workflows you can use immediately.

Installing Starship

Install Starship:

brew install starship
Tip: Verify the installation with starship --version or starship -V after installing.

Configuring starship.toml

Add the init script to your shell config, then customize starship.toml. Each module (git, python, node, etc.) can be enabled, disabled, or reformatted independently.

Here's a foundational configuration to start with:

# starship.toml
[character]
success_symbol = "[➜](bold green)
error_symbol = "[✗](bold red)
[git_branch]
symbol = " "
[python]
symbol = " "
format = "[$symbol($version)]($style) "

Module Customization

With Starship configured, these Starship-specific workflows will save you time every day:

Pro tip: Don't try to adopt everything at once. Start with Git branch and status in your prompt and add more as it becomes habit.

Multi-Shell Integration

Once you're comfortable with Starship basics, these advanced techniques will transform your Starship workflow:

Prompt Performance & Lag

Here are the most common Starship issues and how to fix them:

A Prompt for Every Shell

Congratulations — you now have a solid Starship foundation. Here's where to go next:

← Previousripgrep Replace and File Type Filters: Advanced Search Beyond grepNext →bat: A Cat Replacement with Syntax Highlighting and Git Integration