How To Install Emacs On Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS?
Maintainer: Rob Browning
Email: [email protected] .
Website: https://www.gnu.org/software/emacs/
Section: editors
Install emacs
-
Debian
apt-get install emacsClick to copy -
Ubuntu
apt-get install emacsClick to copy -
Alpine OS
apk add emacsClick to copy -
Arch Linux
pacman -S emacsClick to copy -
Kali Linux
apt-get install emacsClick to copy -
CentOS
yum install emacs-1Click to copy -
Fedora
dnf install emacs-1Click to copy -
Raspbian
apt-get install emacsClick to copy -
macOS
brew install emacsClick to copy
The extensible, customizable, self-documenting, real-time display editor.
How to use emacs?
Below are few example commands for emacs that you can use in the terminal.
Open emacs in console mode (without X window):emacs -nwClick to copyOpen a file in emacs:emacs filenameClick to copyExit emacs:C-x C-cClick to copy
Installation of latest emacs command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.




