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,738
libmagic --HEAD 6
Installs on Request (30 days)
libmagic 2,568
libmagic --HEAD 6
Build Errors (30 days)
libmagic 4
Installs (90 days)
libmagic 14,387
libmagic --HEAD 19
Installs on Request (90 days)
libmagic 8,062
libmagic --HEAD 19
Installs (365 days)
libmagic 55,867
libmagic --HEAD 60
Installs on Request (365 days)
libmagic 29,340
libmagic --HEAD 60
Fork me on GitHub