Skip to content
Emacs formulae for the Homebrew package manager
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
images Add screenshots Mar 17, 2019
patches Remove unneeded patches for Emacs 26.2 on Mojave Apr 14, 2019
.gitignore Initial commit Jan 20, 2019
CONTRIBUTORS Initial commit Jan 20, 2019

Emacs Head

Emacs Head is a GNU Emacs formula based on the original Homebrew emacs formula.

Why yet another Homebrew Emacs formula?

Since the option “–with-cocoa” is not available in the latest Emacs homebrew-core formula (see pull request), I decided to build my own formula.

This formula currently supports:

  • GNU Emacs 26.2
  • GNU Emacs HEAD (currently 27.x)

No bottles are available.


GNU Emacs running in terminal mode (27.x)


GNU Emacs running in GUI mode (27.x)



You can install this formula using:

GNU Emacs 26.2

brew tap daviderestivo/emacs-head
brew install emacs-head --with-cocoa


brew tap daviderestivo/emacs-head
brew install emacs-head --HEAD --with-cocoa

Compilation options

The following compiling options are available:

–with-cocoaBuild a Cocoa version of emacs
–with-ctagsDon’t remove the ctags executable that emacs provides
–with-dbusBuild with dbus support
–with-imagemagick@6Build with imagemagick@6 support
–with-imagemagick@7Build with imagemagick@7 support (only HEAD)
–with-janssonEnable jansson support (only HEAD)
–with-librsvgBuild with librsvg support
–with-mailutilsBuild with mailutils support
–with-multicolor-fontsEnable multicolor fonts on macOS
–with-modulesCompile with dynamic modules support
–with-no-frame-refocusDisables frame re-focus
–without-libxml2Don’t build with libxml2 support

For the terminal version only of GNU Emacs please omit “–with-cocoa”.


If you are interested in collaborating please open a Pull Request.

You can’t perform that action at this time.