DEV Community

Alex Spinov
Alex Spinov

Posted on

Starship Has a Free Shell Prompt — Beautiful, Fast, Customizable Terminal Prompt

Starship is a minimal, blazing-fast, and customizable prompt for any shell.

What You Get for Free

  • Cross-shell — bash, zsh, fish, PowerShell, Nushell, Cmd, Elvish
  • Cross-platform — Linux, macOS, Windows
  • Git integration — branch, status, ahead/behind, stash count
  • Language detection — shows Node.js, Python, Rust, Go, Java versions
  • Cloud context — AWS, GCP, Azure, Kubernetes namespace
  • Docker context — current Docker context
  • Battery — battery level indicator
  • Time — command duration, timestamp
  • Custom modules — build your own prompt segments
  • Fast — written in Rust, <10ms render time

Quick Start

# Install
brew install starship  # or curl -sS https://starship.rs/install.sh | sh

# Add to .zshrc
eval "$(starship init zsh)"

# Configure: ~/.config/starship.toml
[git_branch]
format = "[$symbol$branch]($style) "

[nodejs]
format = "[$symbol($version)]($style) "

[python]
format = "[$symbol$version]($style) "
Enter fullscreen mode Exit fullscreen mode

Why Developers Switch

Oh-my-zsh themes are slow (100-500ms). Custom PS1 is unmaintainable:

  • Fast — <10ms vs 100-500ms for oh-my-zsh
  • Any shell — same prompt in bash, zsh, fish
  • Smart defaults — shows relevant info only when needed
  • TOML config — simple, readable configuration

A developer's zsh prompt took 400ms to render with oh-my-zsh. After switching to Starship, prompt renders in 8ms — terminal feels instant again, and the same prompt works when they SSH into bash servers.


Need Custom Data Solutions?

I build production-grade scrapers and data pipelines for startups, agencies, and research teams.

Browse 88+ ready-made scrapers on Apify → — Reddit, HN, LinkedIn, Google, Amazon, and more.

Custom project? Email me: spinov001@gmail.com — fast turnaround, fair pricing.

Top comments (0)