Follow simple steps to install bash on Mac

Package Information:

Name: bash
Use: Bash is the Bourne Again SHell.It is an sh-compatible shell that incorporates useful features from the Korn shell (ksh) and C shell (csh).
URL: https://www.gnu.org/software/bash/

Installation Steps:

  1. Open Terminal by pressing <command+space>. Type terminal and hit Enter key.
  2. Copy and execute below command

    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
  3. Install bash using brew
    brew install bash

bash is ready to use now!