Skip to content

Installing Starship 🚀

Installation guide for Starship (Cross-Shell Prompt)

date:
category:
Tool
read:
1 min
likes:

Prerequisities

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.Starship

Setup

Once installed, integrate Starship into your shell startup process:

  1. Open your ~/.bashrc file (or equivalent for your shell).
  2. Add the following line to the end of the file:
    # ~/.bashrc
    eval "$(starship init bash)"
  3. Save the file and either restart your terminal or source the ~/.bashrc for the changes to take effect.

More snippets