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 | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:mg |
|---|---|
| 版本 | 7.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/mg |
| 主页 | https://github.com/ibara/mg |
| 仓库 | https://github.com/ibara/mg |
| 上游文档 | https://github.com/ibara/mg#readme |
| 许可证 | LicenseRef-Homebrew-public-domain AND ISC AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause |
| 源码归档 | https://github.com/ibara/mg/releases/download/mg-7.3/mg-7.3.tar.gz |
| macOS 提供的库 | ncurses |
| Bottle | 可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | mg |
| Version Scheme | 1 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 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 20260227-1.fc45
Tiny Emacs-like editor
sudo dnf install mgmg 20260227-1
Micro GNU/emacs
sudo pacman -S mgmg 3.7-1.8
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.