lua

Install command:
brew install lua

Also known as: lua@5.5

Powerful, lightweight programming language

https://www.lua.org/

License: MIT

Development: Pull requests

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

Formula code: lua.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.5.1

Other versions:

lua@5.4 5.4.9 Powerful, lightweight programming language

Patches:

https://github.com/Homebrew/homebrew-core/blob/main/Patches/lua/lua-shared.patch

Binaries: lua, lua-5.5, lua5.5, luac, luac-5.5, luac5.5

You may also want luarocks:
    brew install luarocks

GitHub Packages downloads:

Last 30 days209,219
Downloads11,288,584
Analytics install events (30 days)21,861
Downloads / install events (30 days)9.6×

Source: GitHub Packages, fetched 2026-11-18T00:58:12Z. Analytics dates: 2026-10-19 to 2026-11-18. 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
Installs21,85959,016266,699
Installs (--HEAD)213102
Installs on Request10,78529,947107,353
Installs on Request (--HEAD)213102
Build Errors0