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:

Apple Silicon sequoia
sonoma
ventura
monterey
big sur
Intel sonoma
ventura
monterey
big sur
64-bit linux

Current versions:

stable 5.45

Analytics:

Installs (30 days)
libmagic 3,455
libmagic --HEAD 5
Installs on Request (30 days)
libmagic 1,877
libmagic --HEAD 5
Build Errors (30 days)
libmagic 0
Installs (90 days)
libmagic 11,043
libmagic --HEAD 14
Installs on Request (90 days)
libmagic 5,500
libmagic --HEAD 14
Installs (365 days)
libmagic 49,352
libmagic --HEAD 45
Installs on Request (365 days)
libmagic 25,503
libmagic --HEAD 45
Fork me on GitHub