macOS
brew install mglocal Homebrew formula metadata
sudo port install mgMacPorts ports tree · editors/mg/Portfile · source: api.github.com
brew / rank 5721
Small Emacs-like editor. Version 7.3 via Homebrew; verified from local package data. Also installable with debian: sudo apt install mg.
install
brew install mglocal Homebrew formula metadata
sudo port install mgMacPorts ports tree · editors/mg/Portfile · source: api.github.com
sudo apk add mgAlpine Linux edge package indexes · mg · source: dl-cdn.alpinelinux.org
sudo apt install mgDebian stable package indexes · mg · source: deb.debian.org
sudo dnf install mgFedora Rawhide package metadata · mg · source: dl.fedoraproject.org
nix profile install nixpkgs#mgnixpkgs package indexes · pkgs/by-name/mg/mg/package.nix · source: api.github.com
sudo pacman -S mgArch Linux sync databases · mg · source: geo.mirror.pkgbuild.com
sudo zypper install mgopenSUSE Tumbleweed package metadata · mg · source: download.opensuse.org
overview
Small Emacs-like editor
history
mg is the small Emacs-like editor lineage that began as MicroGNUEmacs, itself based on Dave Conroy's MicroEMACS. The troglobit mg history summarizes the origin as a Micro Emacs clone created in 1987 from the 1985 MicroEMACS v30 code, with the old Micro GNU Emacs name dropped after a dispute with the FSF. OpenBSD's mg manual gives the design goal in practical terms: a small, fast, portable editor for people who cannot or do not want to run Emacs, or who are not familiar with vi.
The package distributed by Homebrew through ibara/mg is a portable version of OpenBSD's mg. Its README says it tracks OpenBSD upstream aggressively, preserving mg's role as a compact, public-domain-ish editor that gives users familiar Emacs key bindings without bringing along GNU Emacs as a large programmable environment.
Its adoption story is strongest in BSD and Unix packaging. OpenBSD includes mg as a base-system editor; portable builds are packaged by Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Ubuntu, openSUSE, pkgsrc, and other ports collections. In practice it is used as a lightweight `$EDITOR`, for quick system-file edits, rescue or remote environments, and users whose muscle memory is Emacs rather than vi.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
mg | executable | indexed executable | Discovered from the local executable index. |
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.
install metadata
| Package key | brew:mg |
|---|---|
| Version | 7.3 |
| Package manager | Homebrew |
| Homepage | https://github.com/ibara/mg |
| Repository | https://github.com/ibara/mg |
| Bottle | not recorded |
| Service | none declared |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
mg 20240709-1
microscopic GNU Emacs-style editor
https://homepage.boetes.org/software/mg/
sudo apt install mgmg
nix profile install nixpkgs#mgmg 20230501-1
microscopic GNU Emacs-style editor
https://homepage.boetes.org/software/mg/
sudo apt install mgmg 20260222-r0
microscopic EMACS style editor
sudo apk add mgmg-doc 20260222-r0
microscopic EMACS style editor (documentation)
sudo apk add mg-docmg 20260719-1.fc45
Tiny Emacs-like editor
sudo dnf install mgmg 20260719-1
Micro GNU/emacs
sudo pacman -S mgmg 3.7-1.10
Micro GNU Emacs clone
https://man.troglobit.com/man1/mg.1.html
sudo zypper install mgmg
sudo port install mgsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.