macOS
brew install mglocal Homebrew formula metadata
安装
brew install mglocal Homebrew formula metadata
sudo apk add mgAlpine Linux edge package indexes · mg · 来源: dl-cdn.alpinelinux.org
sudo dnf install mgFedora Rawhide package metadata · mg · 来源: dl.fedoraproject.org
nix profile install nixpkgs#mgnixpkgs package indexes · pkgs/by-name/mg/mg/package.nix · 来源: api.github.com
sudo pacman -S mgArch Linux sync databases · mg · 来源: geo.mirror.pkgbuild.com
sudo zypper install mgopenSUSE Tumbleweed package metadata · mg · 来源: download.opensuse.org
概览
Small Emacs-like editor
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
mg | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:mg |
|---|---|
| 版本 | 7.3 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/ibara/mg |
| 仓库 | https://github.com/ibara/mg |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 mg来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.