readline

Install command:
brew install readline

Library for command-line editing

https://tiswww.case.edu/php/chet/readline/rltop.html

License: GPL-3.0-or-later

Development: Pull requests

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

Formula code: readline.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 ✅ 8.3.6

Patches:

https://ftpmirror.gnu.org/readline/readline-8.3-patches/readline83-001
https://ftpmirror.gnu.org/readline/readline-8.3-patches/readline83-002
https://ftpmirror.gnu.org/readline/readline-8.3-patches/readline83-003
https://ftpmirror.gnu.org/readline/readline-8.3-patches/readline83-004
https://ftpmirror.gnu.org/readline/readline-8.3-patches/readline83-005
https://ftpmirror.gnu.org/readline/readline-8.3-patches/readline83-006

Keg-only because macOS provides BSD libedit.

Uses from macOS: ncurses

GitHub Packages downloads:

Last 30 days2,495,452
Downloads109,312,156
Analytics install events (30 days)262,437
Downloads / install events (30 days)9.5×

Source: GitHub Packages, fetched 2026-11-22T00:58:00Z. 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
Installs262,432651,8452,860,996
Installs (--HEAD)51997
Installs on Request2,3607,57843,492
Installs on Request (--HEAD)41570
Build Errors398