libmagic Package Installation on Mac

About abcde : Implementation of the file(1) command!
More Information: https://www.darwinsys.com/file/
Steps:

  1. Launch Terminal by pressing command+space, type terminal and hit Enter key.
  2. Run
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
  3. Install
    brew install libmagic

Done!