bun

Install command:
brew install bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager

https://bun.com/

License: MIT AND LGPL-2.0-or-later AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND IJG AND ISC AND LGPL-2.1-or-later AND Zlib AND (Apache-2.0 WITH LLVM-exception)

Development: Pull requests

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

Formula code: bun.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 ✅ 1.4.5

Patches:

https://github.com/Homebrew/homebrew-core/blob/main/Patches/bun/rust-1.100.0.diff

Depends on when building from source:

cmake 4.5.1 Cross-platform make
llvm 23.1.6 Next-gen compiler infrastructure
ninja 1.13.2 Small build system for use with gyp or CMake
rust 1.100.0 Safe, concurrent, practical language

Uses from macOS: llvm (build), perl (build), python (build), ruby (build), unzip (build)

Binaries: bun, bunx

GitHub Packages downloads:

Last 30 days63,658
Downloads259,123
Analytics install events (30 days)14,567
Downloads / install events (30 days)4.4×

Source: GitHub Packages, fetched 2026-11-22T00:59:30Z. Analytics dates: 2026-10-23 to 2026-11-22. 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
Installs14,54628,36446,584
Installs (--HEAD)213764
Installs on Request13,21625,22543,096
Installs on Request (--HEAD)213764
Build Errors325