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,702
libmagic --HEAD 8
Installs on Request (30 days)
libmagic 2,583
libmagic --HEAD 8
Build Errors (30 days)
libmagic 2
Installs (90 days)
libmagic 13,993
libmagic --HEAD 22
Installs on Request (90 days)
libmagic 7,760
libmagic --HEAD 22
Installs (365 days)
libmagic 56,357
libmagic --HEAD 63
Installs on Request (365 days)
libmagic 29,846
libmagic --HEAD 63
Fork me on GitHub