emacs

Install command:
brew install emacs

GNU Emacs text editor

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

License: GPL-3.0-or-later

Development: Pull requests

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

Formula code: emacs.rb on GitHub

Bottle (binary package) installation support provided for:

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

Current versions:

stable ✅ 31.1
head ⚡️ HEAD

Revision: 1

Depends on:

gmp 6.3.0 GNU multiple precision arithmetic library
gnutls 3.8.13 GNU Transport Layer Security (TLS) Library
tree-sitter 0.27.1 Incremental parsing library

Depends on when building from source:

pkgconf 3.0.10 Package compiler and linker metadata toolkit
texinfo 7.3 Official documentation format of the GNU project

Uses from macOS: libxml2, ncurses

Binaries: ebrowse, emacs, emacs-31.1, emacsclient, etags

Service:

Start now and at login: brew services start emacs
Run directly: $HOMEBREW_PREFIX/opt/emacs/bin/emacs --fg-daemon

GitHub Packages downloads:

Last 30 days22,836
Downloads3,376,271
Analytics install events (30 days)2,851
Downloads / install events (30 days)8.0×

Source: GitHub Packages, fetched 2026-11-02T00:44:26Z. Analytics dates: 2026-10-03 to 2026-11-02. 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
Installs2,84712,44153,894
Installs (--HEAD)414122
Installs on Request2,0898,73839,246
Installs on Request (--HEAD)414122
Build Errors8