Automic VaultAutomic Vault

brew

Install emacs with Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, scoop, winget, zypper

GNU Emacs text editor. Version 30.2 via Homebrew; verified 2026-06-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install emacs

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install emacs

MacPorts ports tree · editors/emacs/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add emacs

Alpine Linux edge package indexes · emacs · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install emacs

Debian stable package indexes · emacs · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install emacs

Fedora Rawhide package metadata · emacs · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#emacs

nixpkgs package indexes · emacs · source: raw.githubusercontent.com

Arch Linux pacmanverified · 92%
sudo pacman -S emacs

Arch Linux sync databases · emacs · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install emacs

openSUSE Tumbleweed package metadata · emacs · source: download.opensuse.org

overview

Package summary

GNU Emacs text editor

Commands and aliases

  • ebrowse
  • emacs
  • emacs-30.2
  • emacsclient
  • etags

history

Project history and usage

GNU Emacs is the GNU project's extensible, customizable text editor and Lisp environment. It is both a daily editor and a programmable application platform, shipped by essentially every Unix-like package manager and widely used through terminal, GUI, daemon, and emacsclient workflows.

Project history

The Emacs lineage began before GNU: the GNU source tree's HISTORY file says EMACS started as macros on top of the TECO editor and was first operational in late 1976. That original idea, an extensible and self-documenting editor, became one of the defining models for programmable development environments.

Work on GNU Emacs began in 1984 as a fresh implementation for GNU and GNU-like systems with a full-featured Lisp at its core. GNU Emacs 13, the initial public release, was announced on Usenet on 1985-03-20, and the project has kept a long stable-release history in the source tree since then.

Over later decades, GNU Emacs accumulated major editing, programming, package, display, and platform features while keeping Emacs Lisp as the extension language. The NEWS files remain the canonical record of user-visible changes, with Emacs 30 adding items such as default native compilation where libgccjit is available, Android port work, and always-available native JSON support.

Adoption history

Emacs spread through Unix and free software culture because it was not only an editor but a programmable environment. Its extension model made modes, mail/news clients, shells, version-control interfaces, language tooling, and personal workflows installable or scriptable inside one long-lived process.

Package-manager adoption is unusually broad: GNU Emacs is available through Homebrew, Debian, Ubuntu, Fedora, Arch, Nix, MacPorts, Chocolatey, Scoop, winget, and other systems. That breadth reflects both its age and its continuing role as a baseline developer and writing tool across operating systems.

Modern adoption also depends on package archives and init-file culture. Users typically maintain an init.el or equivalent startup file, install packages, and share configuration snippets; package managers provide the editor binary, while Emacs's own package system and Lisp ecosystem provide much of the user experience.

How it is used

GNU Emacs is commonly launched as emacs for an interactive session, emacsclient for connecting to a server, or as a terminal/GUI editor depending on the build. Users customize startup through files such as ~/.emacs, ~/.emacs.d/init.el, or XDG-style ~/.config/emacs/init.el, with early-init.el available for earlier startup customization.

Common use spans text editing, programming, project navigation, shells, version control, mail, notes, and literate configuration. Its significance is not one workflow but the fact that many workflows can be implemented in Emacs Lisp and loaded into the same editor.

Why package nerds care

GNU Emacs is package-nerd bedrock: it is a large, old, highly configurable package with compile-time options, GUI toolkit choices, native compilation, daemon/client modes, and many downstream variants. Installing Emacs is often the start of another package ecosystem managed through Emacs Lisp packages and user configuration.

For maintainers, Emacs is also a portability test case. It spans terminal and graphical builds, Unix-like systems and Windows, optional libraries, and decades of compatibility expectations. That makes it a recurring package-manager benchmark for patches, bottles, build flags, and upgrade migrations.

Timeline

  • 1976: EMACS becomes operational as TECO macros.
  • 1984: Work begins on GNU Emacs as a new implementation for GNU and GNU-like systems.
  • 1985: GNU Emacs 13 is announced as the initial public release.
  • 1997: GNU Emacs 20.1 is released.
  • 2001: GNU Emacs 21.1 is released.
  • 2012: GNU Emacs 24.1 is released.
  • 2018: GNU Emacs 26.1 is released.
  • 2025: Emacs 30 NEWS records Emacs 30.2 as a bug-fix release and Emacs 30.1 user-visible changes.

Related projects

  • GNU Emacs is related to earlier TECO-based Emacs systems, XEmacs, Emacs Lisp package archives, and editor ecosystems such as Vim and modern IDEs. In package-manager data it is also connected to helper executables such as emacsclient, etags, and ebrowse.

security posture

Risk level: orange

broad file, network, media, or database tool signal. formula declares a Homebrew service.

Risk classifier

orange risk · medium confidence · infrastructure

Why

  • broad file, network, media, or database tool signal
  • formula declares a Homebrew service

Signals

  • metadata:service
  • text:client

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Formula metadata declares a service or daemon block.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 3 runtime dependencies.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.emacs.el~/.emacs~/.emacs.d/init.el~/.config/emacs/init.el~/.emacs.d/early-init.el~/.config/emacs/early-init.el

executables

Installed executables

CommandKindExposureNote
ebrowsecliglobal executable
emacscliglobal executable
emacs-30.2cliglobal executable
emacsclientcliglobal executable
etagscliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version30.2
manager updated2026-06-22
local dataok
upstreamnot checked
latest detectednot detected

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

install metadata

Package metadata

Package keybrew:emacs
Version30.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/emacs
Homepagehttps://www.gnu.org/software/emacs/
Repositoryhttps://git.savannah.gnu.org/cgit/emacs.git
Upstream docshttps://www.gnu.org/software/emacs/documentation.html
LicenseGPL-3.0-or-later
Source archivehttps://ftpmirror.gnu.org/gnu/emacs/emacs-30.2.tar.xz
Last updated2026-06-22T14:03:14-07:00
Pulseupdated
Dependenciesgmp, gnutls, tree-sitter@0.25
Build dependenciespkgconf, texinfo
Uses from macOSlibxml2, ncurses
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicedeclared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameemacs
Version Scheme0
Revision2
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

emacs 1:30.1+1-6

GNU Emacs editor (metapackage)

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

sudo apt install emacs
  • Section: editors
  • Architecture: all
  • 4 dependencies
  • normalized package name match
  • Matched by: Emacs
Debian stable package indexes · deb.debian.org · Debian stable package indexes: emacs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

emacs-bin-common 1:30.1+1-6

GNU Emacs editor's shared, architecture dependent files

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

sudo apt install emacs-bin-common
  • Section: editors
  • Architecture: amd64
  • Source Package: emacs
  • 2 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Emacs
Debian stable package indexes · deb.debian.org · Debian stable package indexes: emacs-bin-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

emacs-common 1:30.1+1-6

GNU Emacs editor's shared, architecture independent infrastructure

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

sudo apt install emacs-common
  • Section: editors
  • Architecture: all
  • Source Package: emacs
  • 4 dependencies
  • 32 provides
  • 3 optional deps
  • normalized package name match
  • Matched by: Emacs
Debian stable package indexes · deb.debian.org · Debian stable package indexes: emacs-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

emacs-el 1:30.1+1-6

GNU Emacs LISP (.el) files

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

sudo apt install emacs-el
  • Section: editors
  • Architecture: all
  • Source Package: emacs
  • 1 dependencies
  • normalized package name match
  • Matched by: Emacs
Debian stable package indexes · deb.debian.org · Debian stable package indexes: emacs-el from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

emacs-gtk 1:30.1+1-6

GNU Emacs editor (with GTK+ GUI support)

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

sudo apt install emacs-gtk
  • Section: editors
  • Architecture: amd64
  • Source Package: emacs
  • 32 dependencies
  • 6 provides
  • 3 optional deps
  • normalized package name match
  • Matched by: Emacs
Debian stable package indexes · deb.debian.org · Debian stable package indexes: emacs-gtk from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

emacs-lucid 1:30.1+1-6

GNU Emacs editor (with Lucid GUI support)

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

sudo apt install emacs-lucid
  • Section: editors
  • Architecture: amd64
  • Source Package: emacs
  • 32 dependencies
  • 6 provides
  • 3 optional deps
  • normalized package name match
  • Matched by: Emacs
Debian stable package indexes · deb.debian.org · Debian stable package indexes: emacs-lucid from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

emacs-nox 1:30.1+1-6

GNU Emacs editor (without GUI support)

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

sudo apt install emacs-nox
  • Section: editors
  • Architecture: amd64
  • Source Package: emacs
  • 19 dependencies
  • 6 provides
  • 2 optional deps
  • normalized package name match
  • Matched by: Emacs
Debian stable package indexes · deb.debian.org · Debian stable package indexes: emacs-nox from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

emacs-pgtk 1:30.1+1-6

GNU Emacs editor (with GTK+ Wayland GUI support)

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

sudo apt install emacs-pgtk
  • Section: editors
  • Architecture: amd64
  • Source Package: emacs
  • 32 dependencies
  • 6 provides
  • 3 optional deps
  • normalized package name match
  • Matched by: Emacs
Debian stable package indexes · deb.debian.org · Debian stable package indexes: emacs-pgtk from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

emacs

nix profile install nixpkgs#emacs
  • normalized package name match
  • Matched by: Emacs
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: emacs from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

emacs 1:29.3+1-1ubuntu2

GNU Emacs editor (metapackage)

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

sudo apt install emacs
  • Section: universe/editors
  • Architecture: all
  • 4 dependencies
  • normalized package name match
  • Matched by: Emacs
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: emacs from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

emacs-bin-common 1:29.3+1-1ubuntu2

GNU Emacs editor's shared, architecture dependent files

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

sudo apt install emacs-bin-common
  • Section: universe/editors
  • Architecture: amd64
  • Source Package: emacs
  • 2 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Emacs
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: emacs-bin-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

emacs-common 1:29.3+1-1ubuntu2

GNU Emacs editor's shared, architecture independent infrastructure

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

sudo apt install emacs-common
  • Section: universe/editors
  • Architecture: all
  • Source Package: emacs
  • 6 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Emacs
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: emacs-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

emacs-el 1:29.3+1-1ubuntu2

GNU Emacs LISP (.el) files

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

sudo apt install emacs-el
  • Section: universe/editors
  • Architecture: all
  • Source Package: emacs
  • 1 dependencies
  • normalized package name match
  • Matched by: Emacs
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: emacs-el from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

emacs-gtk 1:29.3+1-1ubuntu2

GNU Emacs editor (with GTK+ GUI support)

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

sudo apt install emacs-gtk
  • Section: universe/editors
  • Architecture: amd64
  • Source Package: emacs
  • 32 dependencies
  • 6 provides
  • 2 optional deps
  • normalized package name match
  • Matched by: Emacs
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: emacs-gtk from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

emacs-lucid 1:29.3+1-1ubuntu2

GNU Emacs editor (with Lucid GUI support)

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

sudo apt install emacs-lucid
  • Section: universe/editors
  • Architecture: amd64
  • Source Package: emacs
  • 32 dependencies
  • 6 provides
  • 2 optional deps
  • normalized package name match
  • Matched by: Emacs
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: emacs-lucid from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

emacs-nox 1:29.3+1-1ubuntu2

GNU Emacs editor (without GUI support)

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

sudo apt install emacs-nox
  • Section: universe/editors
  • Architecture: amd64
  • Source Package: emacs
  • 19 dependencies
  • 6 provides
  • 1 optional deps
  • normalized package name match
  • Matched by: Emacs
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: emacs-nox from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment