Guide To Install deheader On Mac using Brew

Package Information:

Name: deheader
Use: Analyze C/C++ files for unnecessary headers
URL: http://www.catb.org/~esr/deheader

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

deheader is ready to use now!