# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix 安装 mle

查看 mle 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mle
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mle
```

  证据: 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
```

  证据: 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
```

  证据: 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
```

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

- Nix (92%):

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

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

## 软件包事实

- **软件包键:** brew:mle
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/mle>
- **版本:** 1.8.1
- **来源摘要:** Flexible terminal-based text editor
- **主页:** <https://github.com/adsr/mle>
- **仓库:** <https://github.com/adsr/mle>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/adsr/mle/archive/refs/tags/v1.8.1.tar.gz>
- **最后更新:** 2026-05-17T17:06:34Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- mle (cli)
- mle (别名)

## 依赖

- lua
- pcre2

## 构建依赖

- uthash

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.8.1
- 管理器更新时间: 2026-05-17
- 本地数据: OK
- 上游仓库: https://github.com/adsr/mle
- 检测到的最新版本: v1.8.1 (当前)
## 项目历史与用法

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.

### 使用方式

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.

### 来源

- <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>


## 安全说明

没有找到 mle 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 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:** 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

## 其他软件包管理器记录

- 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-2.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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [pcre2](https://pkg.so/zh-hans/brew/pcre2/) - Runtime dependency declared by Homebrew.
- [lua](https://pkg.so/zh-hans/brew/lua/) - Runtime dependency declared by Homebrew.
- [pyvim](https://pkg.so/zh-hans/brew/pyvim/) - Shares pkgdb curated category or tags: cli, developer-tools, editors, terminal, text-editor.
- [oh-my-posh](https://pkg.so/zh-hans/brew/oh-my-posh/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [rlwrap](https://pkg.so/zh-hans/brew/rlwrap/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [moor](https://pkg.so/zh-hans/brew/moor/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [colordiff](https://pkg.so/zh-hans/brew/colordiff/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [sesh](https://pkg.so/zh-hans/brew/sesh/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [ed](https://pkg.so/zh-hans/brew/ed/) - Shares pkgdb curated category or tags: cli, developer-tools, editors, text-editor.
- [ansifilter](https://pkg.so/zh-hans/brew/ansifilter/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [micro](https://pkg.so/zh-hans/brew/micro/) - Local package facts share a topical domain. Shared terms: based, cli, developer, developer-tools, editor.
- [msedit](https://pkg.so/zh-hans/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/mxcl/pkgdb/blob/main/combined/mle.yml)


## 来源

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