# Install ed

Classic UNIX line editor. Version 1.22.5 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install ed
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ed
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#ed
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: openSUSE Tumbleweed package metadata: ed from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

### Windows

- Scoop (92%):

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

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

## Package Facts

- **Package key:** brew:ed
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/ed>
- **Version:** 1.22.5
- **Source summary:** Classic UNIX line editor
- **Homepage:** <https://www.gnu.org/software/ed/ed.html>
- **Repository:** <https://git.savannah.gnu.org/cgit/ed.git>
- **Upstream docs:** <https://www.gnu.org/software/ed/manual/ed_manual.html>
- **License:** GPL-3.0-or-later
- **Source archive:** <https://ftpmirror.gnu.org/gnu/ed/ed-1.22.5.tar.lz>
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- ed (cli)
- red (cli)
- ed (alias)
- red (alias)

## Install Behavior

- Post-install hook: not defined
- Caveats: All commands have been installed with the prefix "g". If you need to use these commands with their normal names, you can add a "gnubin" directory to your PATH from your bashrc like: PATH="$HOMEBREW_PREFIX/opt/ed/libexec/gnubin:$PATH"
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 1.22.5
- Local data status: ok
- Upstream repository: https://www.gnu.org/software/ed/ed.html
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.

## Notes de sécurité

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

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

## Other Package-Manager Records

- 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-2.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/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-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.1: normalized package name match | openSUSE Tumbleweed package metadata: ed from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-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


## Related Links

- [Terminal utility packages](https://www.automicvault.com/fr/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/fr/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/fr/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/fr/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [pyvim](https://www.automicvault.com/fr/pkg/brew/pyvim/) - Shares av.db curated category or tags: cli, developer-tools, editors, text-editor.
- [mle](https://www.automicvault.com/fr/pkg/brew/mle/) - Shares av.db curated category or tags: cli, developer-tools, editors, text-editor.
- [nano](https://www.automicvault.com/fr/pkg/brew/nano/) - Shares av.db curated category or tags: cli, developer-tools, gnu, text-editor.
- [ghex](https://www.automicvault.com/fr/pkg/brew/ghex/) - Shares av.db curated category or tags: cli, developer-tools, editors.
- [vimtutor-sequel](https://www.automicvault.com/fr/pkg/brew/vimtutor-sequel/) - Shares av.db curated category or tags: cli, developer-tools, editors.
- [rmate](https://www.automicvault.com/fr/pkg/brew/rmate/) - Shares av.db curated category or tags: cli, developer-tools, editors.
- [ex-vi](https://www.automicvault.com/fr/pkg/brew/ex-vi/) - Shares av.db curated category or tags: cli, developer-tools, text-editor, unix.
- [tweak](https://www.automicvault.com/fr/pkg/brew/tweak/) - Shares av.db curated category or tags: cli, developer-tools, editors.
- [gnu-sed](https://www.automicvault.com/fr/pkg/brew/gnu-sed/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, editor, gnu.
- [diffutils](https://www.automicvault.com/fr/pkg/brew/diffutils/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, gnu, text.
- [enscript](https://www.automicvault.com/fr/pkg/brew/enscript/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, gnu, text.

## Sources

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