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

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

## 安装

```sh
sudo av install brew:zile
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install zile
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install zile
```

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

### Linux

- apk (92%):

```sh
sudo apk add zile
```

  证据: Alpine Linux edge package indexes: zile from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install zile
```

  证据: Debian stable package indexes: zile from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install zile
```

  证据: Fedora Rawhide package metadata: zile 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#zile
```

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

- zypper (92%):

```sh
sudo zypper install zile
```

  证据: openSUSE Tumbleweed package metadata: zile from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:zile
- **软件包管理器:** Homebrew
- **版本:** 2.6.4
- **来源摘要:** Text editor development kit
- **主页:** <https://www.gnu.org/software/zile/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- zile (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.6.4
## 项目历史与用法

GNU Zile, short for Zile Is Lossy Emacs, is a lightweight Emacs clone for small systems and quick editing sessions. Its package history is interesting because it is a GNU command-line editor whose explicit value is being much smaller and simpler than GNU Emacs while preserving enough Emacs muscle memory to be useful.

### 项目历史

The AUTHORS file credits Sandro Sigala with conceiving and writing Zile single-handedly up to version 1.6.1, Reuben Thomas with maintenance and releases from 1.6.1 onward, David A. Capello with contributions from 1.7 to 2.0, and Scott Lawrence with the small Lisp interpreter basis. The README describes Zile as a GNU project developed through GNU Savannah.

Zile has changed implementation strategy over time. Older descriptions and packages treated it as a small C Emacs clone; the current README says GNU Zile is written in Vala using POSIX.1-2008 APIs and can be built on other platforms through gnulib. The NEWS file records that the 2.6.0.90 beta rewrote Zile in Vala, reducing the source size from about 8 kLoC for the C version to about 6 kLoC, and the 2.6.1 stable notes say the program had been completely rewritten in Vala since 2.4.x.

The modern project remains deliberately modest. The FAQ says Zile exists for systems and situations where Emacs is unsuitable, including small systems and quick editing sessions; it also tells users who need more power to use Emacs or another editor rather than expecting Zile to grow without limit.

### 采用历史

Zile's adoption is the quiet kind common to small Unix editors: it appears in many package managers because it is useful as a fallback Emacs-like editor, a rescue-system editor, or a tiny install for users who know Emacs keys but do not want a full Emacs package.

GNU itself positions Zile as the minimalist answer in the Emacs FAQ, saying it has basic Emacs editing features and is useful in extremely space-restricted environments. That endorsement gave the package a clear niche even though it was never intended to replace full Emacs for serious Lisp-heavy workflows.

### 使用方式

Users run zile as a terminal editor for basic file editing with Emacs-style key bindings. The workflow is intentionally familiar: quick buffers, command prompts, search and replace, init-file customization, and enough Lisp-like behavior for editor commands without carrying the full Emacs runtime.

Package maintainers mostly care that Zile is a small GNU Autotools-style package with gnulib portability pieces. Its README documents release tarballs, Savannah git sources, make check tests, and platform behavior such as POSIX APIs and curses integration.

### 为什么软件包爱好者会关心

Zile is a classic package-collection entry: small, old-school, GNU-hosted, and useful in the exact scenarios where installing the famous full-size tool is too much. It belongs next to nano, mg, jed, and zile-like editor packages in the long tail of terminal-editor choices.

Its Vala rewrite is also a neat maintenance story. A tiny editor can stay tiny in user-facing scope while radically changing implementation language underneath, which matters to distro maintainers watching dependencies, generated C sources, and portability layers.

### 时间线

- Pre-1.6.1: Sandro Sigala conceives and writes Zile through the early releases.
- 1.6.1: Reuben Thomas joins and becomes responsible for maintenance and releases.
- 1.7-2.0: David A. Capello contributes features including regex search.
- 2020-12-04: Zile 2.6.0.90 beta records the Vala rewrite.
- 2021-03-24: Zile 2.6.1 stable notes that the program has been completely rewritten in Vala since 2.4.x.
- 2025-03-15: Zile 2.6.4 fixes large-file read/write bugs.

### Related projects

- GNU Emacs is the full editor whose basic command feel Zile imitates.
- mg and Jed are other lightweight Emacs-like terminal editors often considered in the same niche.
- gnulib supplies portability code used by Zile's build and source tree.

### 来源

- <https://git.savannah.gnu.org/cgit/zile.git/plain/AUTHORS>
- <https://git.savannah.gnu.org/cgit/zile.git/plain/FAQ>
- <https://git.savannah.gnu.org/cgit/zile.git/plain/NEWS>
- <https://git.savannah.gnu.org/cgit/zile.git/plain/README>
- <https://savannah.gnu.org/projects/zile/>
- <https://www.gnu.org/software/emacs/manual/html_node/efaq/Emacs-for-minimalists.html>
- <https://www.gnu.org/software/zile/>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

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

- Debian apt - zile - 2.6.2-2+b2: normalized package name match | Debian stable package indexes: zile from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | very small Emacs-subset editor | https://www.gnu.org/software/zile/
- Nix - zile: normalized package name match | nixpkgs package indexes: pkgs/by-name/zi/zile/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - zile - 2.6.2-2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: zile from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | very small Emacs-subset editor | https://www.gnu.org/software/zile/
- apk - zile - 2.6.2-r1: normalized package name match | Alpine Linux edge package indexes: zile from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | GNU Zile is a text editor development kit. | https://www.gnu.org/software/zile
- apk - zile-doc - 2.6.2-r1: normalized package name match | Alpine Linux edge package indexes: zile-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | GNU Zile is a text editor development kit. (documentation) | https://www.gnu.org/software/zile
- dnf - zile - 2.6.4-3.fc45: normalized package name match | Fedora Rawhide package metadata: zile from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Zile Is Lossy Emacs | http://www.gnu.org/software/zile/
- zypper - zile - 2.6.4-1.5: normalized package name match | openSUSE Tumbleweed package metadata: zile from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Lightweight Emacs Clone | https://www.gnu.org/software/zile/
- MacPorts - zile: normalized package name match | MacPorts ports tree: editors/zile/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/zile.yml](https://github.com/mxcl/pkgdb/blob/main/combined/zile.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
