# ed mit Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für ed in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:ed
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install ed
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ed
```

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

### Linux

- apk (92%):

```sh
sudo apk add ed
```

  Evidenz: Alpine Linux edge package indexes: ed from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install ed
```

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

- dnf (92%):

```sh
sudo dnf install ed
```

  Evidenz: Fedora Rawhide package metadata: ed 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#ed
```

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

- pacman (92%):

```sh
sudo pacman -S ed
```

  Evidenz: Arch Linux sync databases: ed from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install ed
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/red
```

  Evidenz: Scoop official bucket manifest trees: bucket/red.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Paketfakten

- **Paketschlüssel:** brew:ed
- **Paketmanager:** Homebrew
- **Version:** 1.22.5
- **Quellzusammenfassung:** Classic UNIX line editor
- **Homepage:** <https://www.gnu.org/software/ed/ed.html>
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- ed (Alias)
- red (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 1.22.5
## Projektgeschichte und Nutzung

GNU ed is the GNU implementation of the classic Unix line editor. In package-manager terms it is tiny, old-fashioned, standardized, scriptable, and still worth shipping because the `ed` utility is part of the Unix/POSIX tool vocabulary.

### Projektgeschichte

The POSIX specification defines `ed` as a line-oriented text editor with command and input modes. That standardized interface is the historically important part of the package: `ed` is a small command language for editing text through standard input, not a screen editor.

The GNU package supplies the Free Software Foundation's maintained implementation, including both `ed` and the restricted variant `red`. GNU FTP release archives show the modern GNU release stream at least from ed 1.0 in August 2008 through ed 1.22.5 in February 2026.

### Adoptionsgeschichte

ed persists because it is standardized, scriptable, and expected on Unix-like systems even though most interactive editing moved to screen editors long ago. Its Homebrew, Debian, Ubuntu, Alpine, Arch, Nix, MacPorts, Scoop, and openSUSE packaging in the batch input reflects that baseline utility role.

GNU ed's adoption is therefore less about visible user enthusiasm and more about compatibility: scripts, recovery procedures, minimal systems, teaching material, and standards conformance still need a line editor named `ed`.

### Wie es verwendet wird

POSIX documents `ed [ -p string ] [ -s ] [ file ]`, with commands read from standard input. In command mode, input is interpreted as editing commands; in input mode, input is inserted as text.

GNU ed also ships `red`, a restricted form useful in constrained editing contexts. The utility is commonly used non-interactively in scripts or as a lowest-common-denominator editor on small systems.

### Warum Paket-Nerds sich dafür interessieren

ed is package-manager bedrock: a tiny utility that looks obsolete until a bootstrap environment, recovery shell, POSIX test, or ancient script expects it. Shipping it is a compatibility decision as much as a feature decision.

For people who care about Unix history, `ed` is also a living fossil in the best sense: the interface in modern packages is still recognizably the line-editor model described by POSIX.

### Zeitleiste

- 2008-08: GNU FTP archive lists ed 1.0.
- 2015-03: GNU FTP archive lists ed 1.11.
- 2020-02: GNU FTP archive lists ed 1.16.
- 2024-04: GNU FTP archive lists ed 1.20.2.
- 2026-02: GNU FTP archive lists ed 1.22.5.

### Related projects

- POSIX defines the portable `ed` utility interface.
- `red` is the restricted editor installed with GNU ed.
- Screen editors such as vi and Emacs largely displaced ed for daily interactive editing, but not for the standardized utility role.

### Quellen

- <https://www.gnu.org/software/ed/manual/ed_manual.html>
- <https://pubs.opengroup.org/onlinepubs/9699919799.2018edition/utilities/ed.html>
- <https://ftp.gnu.org/gnu/ed/>


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Andere Paketmanager-Einträge

- Debian apt - ed - 1.21.1-1: normalized package name match | Debian stable package indexes: ed from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | classic UNIX line editor | https://www.gnu.org/software/ed/
- Nix - ed: normalized package name match | nixpkgs package indexes: pkgs/by-name/ed/ed/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - ed - 1.20.1-1: normalized package name match | Ubuntu 24.04 LTS package indexes: ed from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | classic UNIX line editor | https://www.gnu.org/software/ed/
- apk - ed - 1.22.5-r0: normalized package name match | Alpine Linux edge package indexes: ed from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Line-oriented text editor used to create, display, modify and otherwise manipulate text files | https://www.gnu.org/software/ed/
- apk - ed-doc - 1.22.5-r0: normalized package name match | Alpine Linux edge package indexes: ed-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Line-oriented text editor used to create, display, modify and otherwise manipulate text files (documentation) | https://www.gnu.org/software/ed/
- dnf - ed - 1.22.5-3.fc45: normalized package name match | Fedora Rawhide package metadata: ed from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | The GNU line editor | https://www.gnu.org/software/ed/
- pacman - ed - 1.22.5-1: normalized package name match | Arch Linux sync databases: ed from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A POSIX-compliant line-oriented text editor | https://www.gnu.org/software/ed/ed.html
- zypper - ed - 1.22.5-1.3: normalized package name match | openSUSE Tumbleweed package metadata: ed from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A line-oriented text editor | https://www.gnu.org/software/ed/
- MacPorts - ed: normalized package name match | MacPorts ports tree: editors/ed/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Nix - red: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/re/red/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - main/red: installed executable or alias match | Scoop official bucket manifest trees: bucket/red.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/ed.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ed.yml)


## Quellen

- 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
