AptLynx

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

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents