home | heroImage | actionText | actionLink | footer |
---|---|---|---|---|
true |
/logo.svg |
Get Started → |
/guide/ |
ISC Licensed | Copyright © 2019-present Starship Contributors |
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.
-
Install the starship binary:
Download archives of precompiled binaries if you don't use the platforms below.
$ brew install starship
$ cargo install starship
Starship is available on the AUR under the name
starship
. Install it withyay
or your favorite AUR helper.$ yay -S starship
$ nix-env --install starship
$ pkg install starship
-
Add the init script to your shell's config file:
Add the following to the end of
~/.bashrc
:# ~/.bashrc eval "$(starship init bash)"
Add the following to the end of
~/.config/fish/config.fish
:# ~/.config/fish/config.fish eval (starship init fish)
Add the following to the end of
~/.zshrc
:# ~/.zshrc eval "$(starship init zsh)"
Add the following to the end of
~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1
(or~/.config/powershell/Microsoft.PowerShell_profile.ps1
on -Nix):# ~\Documents\PowerShell\Profile.ps1 Invoke-Expression (&starship init powershell)