libmagic

Install command:
brew install libmagic

Implementation of the file(1) command

https://www.darwinsys.com/file/

License: BSD-2-Clause-Darwin AND BSD-2-Clause AND LicenseRef-Homebrew-public-domain

Formula JSON API: /api/formula/libmagic.json

Formula code: libmagic.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
sequoia
sonoma
ventura
macOS on
Intel
sonoma
ventura
Linux ARM64
x86_64

Current versions:

stable 5.46

Analytics:

Installs (30 days)
libmagic 4,681
libmagic --HEAD 8
Installs on Request (30 days)
libmagic 2,706
libmagic --HEAD 8
Build Errors (30 days)
libmagic 1
Installs (90 days)
libmagic 15,243
libmagic --HEAD 16
Installs on Request (90 days)
libmagic 8,404
libmagic --HEAD 16
Installs (365 days)
libmagic 54,472
libmagic --HEAD 59
Installs on Request (365 days)
libmagic 28,454
libmagic --HEAD 59
Fork me on GitHub