Easy Steps to Install bdw-gc on Mac

Package Information:

Name: bdw-gc
Use: Garbage collector for C and C++
URL: https://www.hboehm.info/gc/

Installation Steps:

  1. Open Terminal by hitting <command+space>. Type terminal and hit Enter key.
  2. Copy and run the command

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

bdw-gc is ready to use now!