# 使用 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
- **版本:** 1.8.1
- **来源摘要:** Flexible terminal-based text editor
- **主页:** <https://github.com/adsr/mle>
- **仓库:** <https://github.com/adsr/mle>
- **最后更新:** 2026-05-17T17:06:34Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- mle (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.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。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 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
## 其他软件包管理器记录

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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


## 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
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
