Skip to content

Instantly share code, notes, and snippets.

View simone-lungarella's full-sized avatar
👾
Coding

Simone Lungarella simone-lungarella

👾
Coding
View GitHub Profile
@fitzy1321
fitzy1321 / starship_git_bash_windows.md
Last active October 1, 2024 12:03
Installing Starship.rs on Git Bash for Windows

Installing Starship prompt on Git Bash for Windows

Source: https://bleepcoder.com/starship/640385008/unable-to-install-on-windows-git-bash-configuration-not

All scripts should be ran in your git bash terminal, not cmd or ps.

  1. Make/Choose folder where to install: mkdir -p ~/bin/starship && cd ~/bin
  2. Download the install script: curl -fsSL https://starship.rs/install.sh > ./install.sh
  3. Run install script: ./install.sh --bin-dir /c/Users/<username>/bin/starship/ --platform pc-windows-msvc
  4. Finally add the following to the end of your .bashrc file: