What is “shared-mime-info” Package?

Database of common MIME types
For more details: https://wiki.freedesktop.org/www/Software/shared-mime-info

Installation

  • Open Terminal by pressing command+space then type terminal and hit Enter key.
  • Install homebrew first.
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
  • Install shared-mime-info.
    brew install shared-mime-info

Now, use shared-mime-info!