How to Install bear on Mac using Brew

Package Information:

Name: bear
Use: Bear is a tool that generates a compilation database for clang tooling.
URL: https://github.com/rizsotto/Bear

Installation Steps:

  1. Open Terminal 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 bear using brew
    brew install bear

bear is ready to use now!