Installing Starship 🚀
Installation guide for Starship (Cross-Shell Prompt)
- date:
- category:
- Tool
- read:
- 1 min
- likes:
Prerequisities
- Terminal of your choice
- Nerd Font (external link, opens in a new tab) - Any font with the Nerd Font patch to display icons in the terminal
- Git Bash - I am using git bash primarily, you can use any other.
Installation
Install Starship using any package manager available on your machine. Detailed installation guides for various platforms are available on the official website (external link, opens in a new tab).
Download using Package Manager
winget install -e --id Starship.Starshipcurl -sS https://starship.rs/install.sh | shcurl -sS https://starship.rs/install.sh | shSetup
Once installed, integrate Starship into your shell startup process:
- Open your
~/.bashrcfile (or equivalent for your shell). - Add the following line to the end of the file:
# ~/.bashrceval "$(starship init bash)"
- Save the file and either restart your terminal or source the
~/.bashrcfor the changes to take effect.