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
Intel sonoma
ventura
64-bit linux

Current versions:

stable 5.46

Analytics:

Installs (30 days)
libmagic 9,245
libmagic --HEAD 7
Installs on Request (30 days)
libmagic 4,849
libmagic --HEAD 7
Build Errors (30 days)
libmagic 3
Installs (90 days)
libmagic 16,501
libmagic --HEAD 18
Installs on Request (90 days)
libmagic 8,471
libmagic --HEAD 18
Installs (365 days)
libmagic 52,923
libmagic --HEAD 49
Installs on Request (365 days)
libmagic 27,335
libmagic --HEAD 49
Fork me on GitHub