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,632
libmagic --HEAD 5
Installs on Request (30 days)
libmagic 2,536
libmagic --HEAD 5
Build Errors (30 days)
libmagic 9
Installs (90 days)
libmagic 14,789
libmagic --HEAD 16
Installs on Request (90 days)
libmagic 8,209
libmagic --HEAD 16
Installs (365 days)
libmagic 55,004
libmagic --HEAD 58
Installs on Request (365 days)
libmagic 28,838
libmagic --HEAD 58
Fork me on GitHub