Easy steps to install postgresql@12 package on Mac

Package Information:

Application Name – postgresql@12
What is postgresql@12 – macOS packages Apple Logo … This installer includes the PostgreSQL server, pgAdmin; a graphical tool for managing and developing your … 12, 10.12 – 10.14.
Use of postgresql@12 – Object-relational database system
URL – https://www.postgresql.org/

Installation Steps:

  1. Open Terminal using Spotlight search by pressing  <command+space>. Type terminal and hit  Enter  key.
  2. spotlight search terminal

  3. Now, run following command to install homebrew (brew)
  4. ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null

    Homebrew Install Command Screenshot

  5. Install postgresql@12 using brew
    brew install postgresql@12

postgresql@12  is ready to use now!