Wingetlywingetly
← All apps

GNU Emacs

by GNU Projectv31.1

Last updated

An extensible, customizable, free/libre text editor - and more.

Install with winget

$ winget install --id GNU.Emacs --exact --version 31.1

Run in Command Prompt, PowerShell, or Windows Terminal. Prompts for any agreements.

Silent install command for GNU Emacs

GNU Emacs uses EXE (NSIS). The silent install switches are /S.

One-line silent install (x64, machine scope)
emacs-31.1-installer-UCRT64.exe /S

See the full silent install reference for GNU Emacs

Built by Pckgr

For Intune admins

Stop chasing app updates. Pckgr patches them for you.

Automated application patching for Microsoft Intune. Pckgr keeps a curated library of 1,000+ apps continuously up-to-date in your tenant via Microsoft Graph - no manual repackaging, no chasing vendor sites.

Start free 30-day trial

No credit card required.

Installers · v31.1

ArchitectureTypeScopeInstallDownload
x64EXE
NSIS
machineDirect

Copy a command tailored to that specific architecture, type, and scope - useful when winget would otherwise pick a different default.

Security

13 known CVEs via NVD

  • high7.8Patched in wingetCVE-2024-53920affects before 30.1Nov 27, 2024

    In elisp-mode.el in GNU Emacs before 30.1, a user who chooses to invoke elisp-completion-at-point (for code completion) on untrusted Emacs Lisp source code can trigger unsafe Lisp macro expansion that allows attackers to execute arbitrary code. (This unsafe expansion also occurs...

  • critical9.8Patched in wingetCVE-2024-39331affects before 29.4Jun 23, 2024

    In Emacs before 29.4, org-link-expand-abbrev in lisp/ol.el expands a %(...) link abbrev even when it specifies an unsafe function, such as shell-command-to-string. This affects Org Mode before 9.7.5.

  • high7.1Patched in wingetCVE-2024-30205affects before 29.3Mar 25, 2024

    In Emacs before 29.3, Org mode considers contents of remote files to be trusted. This affects Org Mode before 9.6.23.

  • low2.8Patched in wingetCVE-2024-30204affects before 29.3Mar 25, 2024

    In Emacs before 29.3, LaTeX preview is enabled by default for e-mail attachments.

  • medium5.5Patched in wingetCVE-2024-30203affects before 29.3Mar 25, 2024

    In Emacs before 29.3, Gnus treats inline MIME contents as trusted.

  • high7.8Patched in wingetCVE-2024-30202affects before 29.3Mar 25, 2024

    In Emacs before 29.3, arbitrary Lisp code is evaluated as part of turning on Org mode. This affects Org Mode before 9.6.23.

  • high7.8Patched in wingetCVE-2023-2491affects v27.2-8.el9May 17, 2023

    A flaw was found in the Emacs text editor. Processing a specially crafted org-mode code with the "org-babel-execute:latex" function in ob-latex.el can result in arbitrary command execution. This CVE exists because of a CVE-2023-28617 security regression for the emacs package in...

  • high7.8Patched in wingetCVE-2023-27986affects >=28.1 and <=28.2Mar 8, 2023

    emacsclient-mail.desktop in Emacs 28.1 through 28.2 is vulnerable to Emacs Lisp code injections through a crafted mailto: URI with unescaped double-quote characters. It is fixed in 29.0.90.

Showing 8 of 13. Source: NVD, updated 6h ago. Patch status is best-effort: NVD's fix version is compared against the latest version in winget, but the two version formats don't always align. Confirm with the vendor advisory before treating any specific build as safe.

See a CVE that affects your fleet? Push the patched version to Intune in one click with Pckgr - automated patching is the only way to keep up.

Related apps

  • GNU NanoGNU Project
    GNU.Nanov2.7.5

    GNU nano is a small and friendly command-line text editor.

  • GitHub CLIGitHub, Inc.
    GitHub.cliv2.100.0

    Take GitHub to the command line

  • Notepad++Notepad++ Team
    Notepad++.Notepad++v8.9.8

    Notepad++ is a free source code editor that supports several languages.

  • Core TempALCPU
    ALCPU.CoreTempv1.20.1

    This application can monitor and visualize your processor's temperature.

  • Pinny Notes63BeetleSmurf
    63BeetleSmurf.PinnyNotesv1.17.0

    A sticky note application with a button to "pin" a note making it always on top above other windows.

  • N
    nano for Windowsokibcn
    okibcn.nanov7.2-22.1

    Nano is a small and simple text editor for use on the terminal. This is an up to date 64-bit/32-bit and Windows on ARM port of the legendary GNU nano text editor.

More from GNU Project or browse emacs, gnu, text-editor.

Frequently asked questions

How do I install GNU Emacs on Windows?
Open Windows Terminal, PowerShell, or Command Prompt and run: winget install --id GNU.Emacs --exact --version 31.1. winget downloads the installer from GNU Project and runs it. Requires Windows 10 (1809+) or Windows 11.
How do I install GNU Emacs silently for unattended deployment?
Add --silent and accept the agreements upfront: winget install --id GNU.Emacs --exact 31.1 --silent --accept-package-agreements --accept-source-agreements. This is the variant Intune, Configuration Manager, and other deployment tools should use.
What are the silent install switches for GNU Emacs?
GNU Emacs uses EXE (NSIS). Run the downloaded installer with: emacs-31.1-installer-UCRT64.exe /S. The silent switches are /S.
How do I uninstall GNU Emacs via winget?
Run: winget uninstall --id GNU.Emacs --exact. Add --silent for unattended uninstalls. winget will use the registered uninstaller from GNU Emacs's Apps & Features entry.
Is GNU Emacs free?
GNU Emacs is distributed under GPL. Refer to the publisher (https://www.gnu.org/software/emacs/) for the full license terms - Wingetly itself does not charge for installation.
Does GNU Emacs work on Windows 10?
Yes, as long as your Windows 10 build supports winget (1809 or newer). winget ships with App Installer on Windows 10/11 and pulls GNU Emacs directly from the publisher.
How do I keep GNU Emacs up to date?
Run winget upgrade --id GNU.Emacs --exact, or winget upgrade --all to update everything winget tracks. We index 10 versions of GNU Emacs from microsoft/winget-pkgs.

Recent versions

  • 31.1latest
  • 30.2
  • 30.1
  • 29.4
  • 29.3
  • 29.2
  • 29.1
  • 28.2
  • 28.1
  • 27.2