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

Development: Pull requests

Formula JSON API: /api/formula/libmagic.json

Formula code: libmagic.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
sonoma ✅
macOS on
Intel
sonoma ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 5.48

Analytics:

30 days90 days365 days
Installs3,74212,08459,704
Installs (--HEAD)4743
Installs on Request1,6285,36228,160
Installs on Request (--HEAD)4743
Build Errors0