Linux
Install the latest version for your system:
curl -sS https://starship.rs/install.sh | sh
Add the following to the end of ~/.zshrc
:
echo 'eval "$(starship init zsh)"' >> ~/.zshrc
macOS
Install the latest version for your system:
curl -sS https://starship.rs/install.sh | sh
Add the following to the end of ~/.bashrc
:
eval "$(starship init bash)"
Windows
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 |
---|---|
[winget] | winget install --id Starship.Starship |
Cmd
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"))()
PowerShell
Add the following to the end of your PowerShell configuration (find it by running $PROFILE
):
Invoke-Expression (&starship init powershell)
To get started configuring starship, create the following file: ~/.config/starship.toml.
mkdir -p ~/.config
wget https://raw.githubusercontent.com/ptmgcorp/.files/main/.config/starship.toml -P ~/.config/
https://daniel-sc.github.io/bash-shell-to-bat-converter/