How to Install Emacs Text Editor on Windows 11

Emacs is one of the most powerful and customizable text editors ever created. It’s beloved by programmers, writers, and power users alike for its endless extensibility — you can use it for coding, note-taking, project management, and even running a terminal or email client inside one window.

If you’re a Windows 11 user and want to install and configure Emacs on your system, this guide will walk you through every step, from downloading it to running your first Emacs session.

What Is GNU Emacs?

GNU Emacs, developed by Richard Stallman, is a free, open-source text editor built on the concept of extensibility. It’s written in Lisp and allows you to modify or extend almost any behavior — from key bindings and UI themes to advanced programming features.

With Emacs, you can:

  • Edit and manage code in dozens of languages
  • Run terminals, shells, and compilation processes inside the editor
  • Write scripts to automate repetitive tasks
  • Customize appearance with themes and packages via MELPA

Unlike lightweight editors like Notepad++ or VS Code, Emacs is a full environment — many developers even call it “an operating system inside your operating system.”

Step 1: Download Emacs for Windows 11

The easiest way to get Emacs on Windows 11 is by downloading the official pre-compiled binary.

  1. Open your browser and go to the official GNU Emacs site: https://www.gnu.org/software/emacs/download.html
  2. Scroll down to Windows builds and click the link to the GNU FTP mirrors.
  3. Look for the latest release folder (for example, emacs-29.3).
  4. Download the file named something like: emacs-29.3-installer.exe

Tip: Always choose the 64-bit version unless your system explicitly requires 32-bit compatibility.

Step 2: Install Emacs Using the Installer

Once the installer file is downloaded:

  1. Double-click emacs-29.x-installer.exe.
  2. When prompted by Windows SmartScreen, click Run anyway (if you trust the source).
  3. Follow the installation wizard:
    • Choose an installation directory (default: C:\Program Files\Emacs).
    • Optionally, check Add Emacs to PATH — this lets you open it from Command Prompt.
    • Click Next → Install.
  4. Wait for the installation to complete, then click Finish.

That’s it! You’ve successfully installed Emacs on your Windows 11 machine.

Step 3: Launch Emacs

After installation, you can open Emacs in multiple ways:

  • Search: Press Windows + S, type Emacs, and select GNU Emacs.
  • Command Prompt: Type emacs and hit Enter (if you added Emacs to PATH).
  • Shortcut: Navigate to C:\Program Files\Emacs\bin\runemacs.exe and double-click.

When it opens, you’ll see the classic GNU Emacs welcome screen with helpful links and shortcuts.

Step 4: Configure Emacs (Optional but Recommended)

Emacs is extremely powerful out of the box, but configuring it will make your experience smoother.Create a Configuration File

  1. In your user folder, create a file named: .emacs or use: C:\Users\<YourUsername>\AppData\Roaming\.emacs.d\init.el
  2. Open this file in Emacs and add a few sample configurations: ;; Disable the startup message (setq inhibit-startup-message t) ;; Enable line numbers (global-display-line-numbers-mode t) ;; Use spaces instead of tabs (setq-default indent-tabs-mode nil) ;; Set a default font size (set-face-attribute 'default nil :height 110)
  3. Save the file (press Ctrl + x, then Ctrl + s) and restart Emacs to apply changes.

Pro Tip: Use MELPA (the Emacs package repository) to install themes, syntax highlighters, and productivity tools.

Step 5: Add MELPA Package Repository

To install extra packages like syntax highlighting or language support, enable MELPA.

  1. Open your config file (init.el).
  2. Add the following code: (require 'package) (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) (package-initialize)
  3. Save and restart Emacs.

Now you can install packages like this:

  • Press Alt + x, type package-list-packages, and press Enter.
  • Search for and install your desired package (e.g., use-package, doom-themes, etc.).

Step 6: Launch Emacs from Command Line (Optional)

If you didn’t add Emacs to PATH during installation, you can do it manually:

  1. Press Windows + R, type: sysdm.cpl and hit Enter.
  2. Go to Advanced → Environment Variables.
  3. Under System Variables, find and edit Path.
  4. Click New, then add: C:\Program Files\Emacs\bin
  5. Click OK and restart Command Prompt.

Now you can open Emacs by simply typing emacs anywhere in CMD or PowerShell.

Step 7: Update Emacs (Optional)

To stay up-to-date with new features and bug fixes:

  1. Visit the same GNU FTP site.
  2. Download the latest installer version.
  3. Run it over your existing installation — your configuration files will remain safe.

Wrapping Up

Installing Emacs on Windows 11 is easy and gives you access to one of the most flexible and powerful text editors ever made.

Once installed, you can start customizing it, adding packages, and shaping it into your perfect development environment.

Whether you’re coding, writing, or managing projects, Emacs offers an all-in-one workspace that grows with you. So go ahead — open Emacs, write some code, and see why developers around the world swear by it!

Posted by Arpita

With a background in Computer Science, she is passionate about sharing practical programming tips and tech know-how. From writing clean code to solving everyday tech problems, she breaks down complex topics into approachable guides that help others learn and grow.