Command-line tool
mg
brew/mg
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Small Emacs-like editor
At a glance
- Type
- Command-line tool
- Install on
- macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
macOS
brew install mg
Linux
brew install mg
Open a file for editing
mg path/to/file
Open a file at a specified line number
mg +line_number path/to/file
Open files in a read-only mode
mg -R path/to/file1 path/to/file2 ...
Related command-line tools
- vile
Vi Like Emacs Editor - jove
Emacs-style editor with vi-like memory, CPU, and size requirements - emacs
GNU Emacs text editor utility tool text-editor emacs gnu - Emacs
GNU Emacs text editor - Emacs
GNU Emacs text editor - Emacs
GNU Emacs text editor - zile
Text editor development kit - emacs-clang-complete-async
Emacs plugin using libclang to complete C/C++ code
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents