How to Install cairo on Mac using Brew

Package Information:

Name: cairo
Use: Cairo is a 2D graphics library with support for multiple output devices.
URL: https://cairographics.org/

Installation Steps:

  1. Open Terminal.
  2. Run the following command

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

cairo is ready to use now!