# Install mle with Homebrew, apk, apt, dnf, MacPorts, Nix

Flexible terminal-based text editor. Version 1.8.1 via Homebrew; verified 2026-05-17.

## Install

```sh
sudo av install brew:mle
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install mle
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mle
```

  Evidence: MacPorts ports tree: editors/mle/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add mle
```

  Evidence: Alpine Linux edge package indexes: mle from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install mle
```

  Evidence: Debian stable package indexes: mle from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install mle
```

  Evidence: Fedora Rawhide package metadata: mle from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#mle
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ml/mle/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:mle
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/mle>
- **Version:** 1.8.1
- **Source summary:** Flexible terminal-based text editor
- **Homepage:** <https://github.com/adsr/mle>
- **Repository:** <https://github.com/adsr/mle>
- **Upstream docs:** <https://github.com/adsr/mle>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/adsr/mle/archive/refs/tags/v1.8.1.tar.gz>
- **Last updated:** 2026-05-17T17:06:34Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- mle (cli)
- mle (alias)

## Dependencies

- lua
- pcre2

## Build dependencies

- uthash

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.8.1
- Package-manager updated: 2026-05-17
- Local data: ok
- Upstream repository: https://github.com/adsr/mle
- Upstream latest detected: v1.8.1 (current)
## Project history and usage

mle is a small terminal text editor written in C, developed in the adsr/mle repository, which was created on GitHub on 2014-12-22. A 2017 announcement to the suckless development list described it as a small, configurable, extensible and scriptable editor with nano- or Emacs-like defaults, optional modes, a roughly 10k-line codebase, and minimal dependency goals.

### How it is used

The README's design goals keep mle in the lightweight-terminal-editor niche rather than the full Vim or Emacs ecosystem: small and hackable, few build-time and run-time dependencies, Lua scripting, shell-command integration, stackable key maps, multiple cursors, window splitting, UTF-8 support, syntax highlighting, and headless operation. In package-manager terms it is a modest but widely packaged console editor, available through systems such as Debian/Ubuntu, Fedora, FreeBSD, Alpine, Nix, Homebrew, MacPorts, Cygwin, and others. In practice users open files directly with `mle`, customize behavior through `~/.mlerc` or `/etc/mlerc`, and lean on existing command-line tools such as grep, fzf, tree, less, perl, and ctags for editor extensions.

### Sources

- <https://api.github.com/repos/adsr/mle>
- <https://dev.suckless.narkive.com/iZHH4oIM/announce-mle-a-small-terminal-based-text-editor>
- <https://formulae.brew.sh/formula/mle>
- <https://github.com/adsr/mle>
- <https://raw.githubusercontent.com/adsr/mle/master/README.md>


## Security Notes

No matching local secret-handling manifest was found for mle. Nucleus package metadata is still published here so future coverage has a stable package URL.



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.mlerc, /etc/mlerc
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** mle
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - mle - 1.7.2-1: normalized package name match | Debian stable package indexes: mle from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | flexible terminal-based editor | https://github.com/adsr/mle
- Nix - mle: normalized package name match | nixpkgs package indexes: pkgs/by-name/ml/mle/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - mle - 1.7.2-1: normalized package name match | Ubuntu 24.04 LTS package indexes: mle from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | flexible terminal-based editor | https://github.com/adsr/mle
- apk - mle - 1.8.1-r0: normalized package name match | Alpine Linux edge package indexes: mle from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Flexible terminal-based text editor | https://github.com/adsr/mle
- apk - mle-doc - 1.8.1-r0: normalized package name match | Alpine Linux edge package indexes: mle-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Flexible terminal-based text editor (documentation) | https://github.com/adsr/mle
- dnf - mle - 1.8.1-1.fc45: normalized package name match | Fedora Rawhide package metadata: mle from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A small, flexible, terminal-based text editor | https://github.com/adsr/mle
- MacPorts - mle: normalized package name match | MacPorts ports tree: editors/mle/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [lua](https://www.automicvault.com/pkg/brew/lua/) - Runtime dependency declared by Homebrew.
- [pcre2](https://www.automicvault.com/pkg/brew/pcre2/) - Runtime dependency declared by Homebrew.
- [pyvim](https://www.automicvault.com/pkg/brew/pyvim/) - Shares av.db curated category or tags: cli, developer-tools, editors, terminal, text-editor.
- [aha](https://www.automicvault.com/pkg/brew/aha/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [amtterm](https://www.automicvault.com/pkg/brew/amtterm/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [ansifilter](https://www.automicvault.com/pkg/brew/ansifilter/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [ccat](https://www.automicvault.com/pkg/brew/ccat/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [clive](https://www.automicvault.com/pkg/brew/clive/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [colordiff](https://www.automicvault.com/pkg/brew/colordiff/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [colormake](https://www.automicvault.com/pkg/brew/colormake/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [micro](https://www.automicvault.com/pkg/brew/micro/) - Local package facts share a topical domain. Shared terms: based, cli, developer, developer-tools, editor.
- [msedit](https://www.automicvault.com/pkg/brew/msedit/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, editor, terminal.

## Combined YAML source

View the package source record on GitHub. [combined/mle.yml](https://github.com/automic-vault/db/blob/main/combined/mle.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
