Linux Guide 📓

Starship

Last updated: 2024, Mon Jun 3rd at 13:48 CDT

The minimal, blazing-fast, and infinitely customizable prompt for your shell. It is very versatile and feature rich.

Official Site GitHub

To Install: #

Preferred method

Though you can install Starship from many package manages, running an install script is generally preferred. Additionally a  Nerd Font is required to be installed and enabled in your terminal.

sudo pacman -S starship
sudo dnf copr enable atim/starship
sudo dnf install starship
sudo zypper in starship

Additional install options

The primary way to install Starship is though an install script

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

Another option is from crates.io

cargo install starship --locked

Essentials #

Once install you will have to configure your shell to initialize starship. Common shells:

Bash

add to the end of ~/.bashrc

eval "$(starship init bash)"

Fish

add to the end of ~/.config/fish/config.fish

starship init fish | source

zsh

add to the end of ~/.zshrc

eval "$(starship init zsh)"

Extras #

To get started configuring starship, create starship.toml in ~/.config or use a preset. If you help configuring your prompt consult the original documentation.