bc

Install command:
brew install bc

Arbitrary precision numeric processing language

https://www.gnu.org/software/bc/

License: GPL-3.0-or-later

Development: Pull requests

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

Formula code: bc.rb on GitHub

Bottle (binary package) installation support provided for:

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

Current versions:

stable ✅ 1.08.2

Keg-only because macOS already provides this software.

Depends on when building from source:

texinfo 7.3 Official documentation format of the GNU project

Uses from macOS: bison (build), ed (build), flex, libedit

Conflicts with: bc-gh (because both install `bc` and `dc` binaries)

Binaries: bc, dc

GitHub Packages downloads:

Last 30 days12,568
Downloads299,248
Analytics install events (30 days)1,790
Downloads / install events (30 days)7.0×

Source: GitHub Packages, fetched 2026-11-03T00:41:49Z. Analytics dates: 2026-10-04 to 2026-11-03. 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
Installs1,7906,40531,222
Installs (--HEAD)0119
Installs on Request1,7506,31331,080
Installs on Request (--HEAD)0119
Build Errors0