How to Install cdiff on Mac using Brew

Package Information:

Name: cdiff
Use: View colored diff with side by side and auto pager support
URL: https://github.com/ymattw/cdiff

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 cdiff using brew
    brew install cdiff

cdiff is ready to use now!