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.1 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.10 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 days72,916
Downloads12,417,533
Analytics install events (30 days)14,651
Downloads / install events (30 days)5.0×

Source: GitHub Packages, fetched 2026-11-11T00:50:56Z. Analytics dates: 2026-10-12 to 2026-11-11. 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
Installs14,64940,936300,073
Installs (--HEAD)2737
Installs on Request9522,57026,753
Installs on Request (--HEAD)2734
Build Errors1