libffi

Install command:
brew install libffi

Portable Foreign Function Interface library

https://sourceware.org/libffi/

License: MIT

Development: Pull requests

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

Formula code: libffi.rb on GitHub

Bottle (binary package) installation support provided for:

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

Current versions:

stable ✅ 3.8.3
head ⚡️ HEAD

Keg-only because macOS already provides this software.

GitHub Packages downloads:

Last 30 days2,115,006
Downloads40,199,522
Analytics install events (30 days)218,615
Downloads / install events (30 days)9.7×

Source: GitHub Packages, fetched 2026-12-04T01:01:51Z. Analytics dates: 2026-11-04 to 2026-12-04. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs218,603402,9971,351,480
Installs (--HEAD)1232127
Installs on Request9,91116,00977,981
Installs on Request (--HEAD)1027115
Build Errors20