Steps To Install bash-git-prompt on Mac

Package Information:

Name: bash-git-prompt
Use: An informative and fancy bash prompt for Git users
URL: https://github.com/magicmonty/bash-git-prompt

Installation Steps:

  1. Open Terminal using Spotlight search by pressing <command+space>. Type terminal and hit Enter key.
  2. Execute the following command
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
  3. Install bash-git-prompt using brew
    brew install bash-git-prompt

bash-git-prompt is ready to use now!