- Fast: it's fast β really really fast! π
- Customizable: configure every aspect of your prompt.
- Universal: works on any shell, on any operating system.
- Intelligent: shows relevant information at a glance.
- Feature-rich: support for all your favorite tools.
- Easy: quick to install β start using it in minutes.
- A Nerd Font installed and enabled in your terminal (for example, try the FiraCode Nerd Font
Select your operating system from the list below to view installation instructions:
- Ubuntu/Mint:
sudo apt install curl
- Fedora:
sudo dnf install curl
- Manjaro/Arch:
sudo pacman -S curl
Then Install the latest version for your system:
curl -sS https://starship.rs/install.sh | sh
Distribution | Instructions |
---|---|
Any | cargo install starship --locked |
Any | conda install -c conda-forge starship |
Any | brew install starship |
Alpine Linux 3.13+ | apk add starship |
Arch Linux | pacman -S starship |
CentOS 7+ | dnf copr enable atim/starship dnf install starship |
Gentoo | emerge app-shells/starship |
Manjaro | pacman -S starship |
NixOS | nix-env -iA nixpkgs.starship |
openSUSE | zypper in starship |
Void Linux | xbps-install -S starship |
Install the latest version for your system:
curl -sS https://starship.rs/install.sh | sh
Install the latest version for your system with the MSI-installers from the releases section.
Install Starship using any of the following package managers:
Repository | Instructions |
---|---|
crates.io | cargo install starship --locked |
Chocolatey | choco install starship |
conda-forge | conda install -c conda-forge starship |
Scoop | scoop install starship |
winget | winget install --id Starship.Starship |
Configure your shell to initialize starship. Select yours from the list below:
Add the following to the end of ~/.bashrc
:
eval "$(starship init bash)"
You need to use Clink (v1.2.30+) with Cmd. Create a file at this path %LocalAppData%\clink\starship.lua
with the following contents:
load(io.popen('starship init cmd'):read("*a"))()
Add the following to the end of ~/.config/fish/config.fish
:
starship init fish | source
Add the following to the end of your Nushell env file (find it by running $nu.env-path
in Nushell):
mkdir ~/.cache/starship
starship init nu | save -f ~/.cache/starship/init.nu
And add the following to the end of your Nushell configuration (find it by running $nu.config-path
):
use ~/.cache/starship/init.nu
Add the following to the end of your PowerShell configuration (find it by running $PROFILE
):
Invoke-Expression (&starship init powershell)
Add the following to the end of ~/.zshrc
:
eval "$(starship init zsh)"
Start a new shell instance, and you should see your beautiful new shell prompt. If you're happy with the defaults, enjoy!
If you're looking to further customize Starship:
To get started configuring starship, create the following file: ~/.config/starship.toml
.
~/.config && touch ~/.config/starship.toml && sudo nano starship.toml
Then visit my Advance config file and copy all config lines. then paste in starship.toml
file and save it.
Follow this shortcut if you don't know how to save and exit the nano file.
(Press Ctrl + O then Press Enter to Save And Press Ctrl + X to Exit)
- Starship Docs
- Configuration β learn how to configure Starship to tweak your prompt to your liking
- Presets β get inspired by the pre-built configuration of others