shared-mime-info

Install command:
brew install shared-mime-info

Database of common MIME types

https://wiki.freedesktop.org/www/Software/shared-mime-info

License: GPL-2.0-only

Development: Pull requests

Formula JSON API: /api/formula/shared-mime-info.json

Formula code: shared-mime-info.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
sonoma ✅
macOS on
Intel
sonoma ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 2.5.1
head ⚡️ HEAD

Depends on:

glib 2.90.2 Core application library for C

Depends on when building from source:

gettext 1.0 GNU internationalization (i18n) and localization (l10n) library
itstool 2.0.7 Make XML documents translatable through PO files
meson 1.12.1 Fast and user friendly build system
ninja 1.13.2 Small build system for use with gyp or CMake
pkgconf 3.0.11 Package compiler and linker metadata toolkit
xmlto 0.0.29 Convert XML to another format (based on XSL or other tools)

Uses from macOS: libxml2

Binaries: update-mime-database

GitHub Packages downloads:

Last 30 days64,103
Downloads12,460,010
Analytics install events (30 days)12,624
Downloads / install events (30 days)5.1×

Source: GitHub Packages, fetched 2026-12-01T01:08:54Z. Analytics dates: 2026-11-01 to 2026-12-01. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs12,62336,798275,708
Installs (--HEAD)1730
Installs on Request7662,19124,214
Installs on Request (--HEAD)1727
Build Errors0