libmagic

Install command:
brew install libmagic

Implementation of the file(1) command

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

/api/formula/libmagic.json (JSON API)

Formula code on GitHub

Bottle (binary package) installation support provided for macOS releases:

Intel x86_64 big sur, catalina, mojave, high sierra
Apple Silicon big sur

Current versions:

stable 5.39

Analytics:

Installs (30 days)
libmagic 7,336
Installs on Request (30 days)
libmagic 2,181
Build Errors (30 days)
libmagic 1
Installs (90 days)
libmagic 24,190
Installs on Request (90 days)
libmagic 6,718
Installs (365 days)
libmagic 116,065
Installs on Request (365 days)
libmagic 30,554
Fork me on GitHub