How To Install Emacsclient In Debian, Ubuntu, Alpine, Arch, Kali, Fedora And Raspbian?

How To Install Emacsclient In Debian, Ubuntu, Alpine, Arch, Kali, Fedora And Raspbian?

emacsclient

Open files in an existing emacs server.

Maintainer: Rob Browning



Section: editors

Install emacsclient

  • Debian apt-get install emacs-nox Click to copy
  • Ubuntu apt-get install emacs-nox Click to copy
  • Alpine OS apk add emacs-nox Click to copy
  • Arch Linux pacman -S emacs-nox Click to copy
  • Kali Linux apt-get install emacs-nox Click to copy
  • Fedora dnf install emacs-common-1 Click to copy
  • Raspbian apt-get install emacs-nox Click to copy

Open files in an existing emacs server.

How to use emacsclient?

Below are few example commands for emacsclient that you can use in the terminal.

Open files in an existing Emacs server (using GUI if available):
emacsclient filenameClick to copy
Open file in console mode (without X window):
emacsclient -nw filenameClick to copy
Open a file in an existing emacs frame and return immediately:
emacsclient -n filenameClick to copy
To install the latest version of emacsclient in your favorite operating system just copy the emacsclient installation command from above and paste it into terminal. It will download and install the latest version of emacsclient 2026 package in your OS.