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 5,100
libmagic --HEAD 5
Installs on Request (30 days)
libmagic 2,727
libmagic --HEAD 5
Build Errors (30 days)
libmagic 2
Installs (90 days)
libmagic 17,816
libmagic --HEAD 17
Installs on Request (90 days)
libmagic 9,475
libmagic --HEAD 17
Installs (365 days)
libmagic 53,145
libmagic --HEAD 50
Installs on Request (365 days)
libmagic 27,560
libmagic --HEAD 50
Fork me on GitHub