macOS
brew install edlocal Homebrew formula metadata
sudo port install edMacPorts ports tree · editors/ed/Portfile · ソース: api.github.com
brew
ed のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install edlocal Homebrew formula metadata
sudo port install edMacPorts ports tree · editors/ed/Portfile · ソース: api.github.com
sudo apk add edAlpine Linux edge package indexes · ed · ソース: dl-cdn.alpinelinux.org
sudo dnf install edFedora Rawhide package metadata · ed · ソース: dl.fedoraproject.org
nix profile install nixpkgs#ednixpkgs package indexes · pkgs/by-name/ed/ed/package.nix · ソース: api.github.com
sudo pacman -S edArch Linux sync databases · ed · ソース: geo.mirror.pkgbuild.com
sudo zypper install edopenSUSE Tumbleweed package metadata · ed · ソース: download.opensuse.org
scoop install main/redScoop official bucket manifest trees · bucket/red.json · ソース: api.github.com
概要
Classic UNIX line editor
履歴
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.
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.
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`.
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.
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.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
ed | cli | グローバル実行可能ファイル | |
red | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://www.gnu.org/software/ed/ed.html
インストールメタデータ
| パッケージキー | brew:ed |
|---|---|
| バージョン | 1.22.5 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/ed |
| ホームページ | https://www.gnu.org/software/ed/ed.html |
| リポジトリ | https://git.savannah.gnu.org/cgit/ed.git |
| 上流ドキュメント | https://www.gnu.org/software/ed/manual/ed_manual.html |
| ライセンス | GPL-3.0-or-later |
| ソースアーカイブ | https://ftpmirror.gnu.org/gnu/ed/ed-1.22.5.tar.lz |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
| 注意点 | 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" |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
ed 1.21.1-1
classic UNIX line editor
https://www.gnu.org/software/ed/
sudo apt install eded
nix profile install nixpkgs#eded 1.20.1-1
classic UNIX line editor
https://www.gnu.org/software/ed/
sudo apt install eded 1.22.5-r0
Line-oriented text editor used to create, display, modify and otherwise manipulate text files
https://www.gnu.org/software/ed/
sudo apk add eded-doc 1.22.5-r0
Line-oriented text editor used to create, display, modify and otherwise manipulate text files (documentation)
https://www.gnu.org/software/ed/
sudo apk add ed-doced 1.22.5-2.fc45
The GNU line editor
https://www.gnu.org/software/ed/
sudo dnf install eded 1.22.5-1
A POSIX-compliant line-oriented text editor
https://www.gnu.org/software/ed/ed.html
sudo pacman -S eded 1.22.5-1.1
A line-oriented text editor
https://www.gnu.org/software/ed/
sudo zypper install eded
sudo port install edred
nix profile install nixpkgs#redmain/red
scoop install main/redソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.