macOS
brew install gnu-sedlocal Homebrew formula metadata
brew
GNU implementation of the famous stream editor. Version 4.10 via Homebrew; verified 2026-04-22.
install
brew install gnu-sedlocal Homebrew formula metadata
sudo apk add sedAlpine Linux edge package indexes · sed · source: dl-cdn.alpinelinux.org
sudo apt install sedDebian stable package indexes · sed · source: deb.debian.org
sudo dnf install sedFedora Rawhide package metadata · sed · source: dl.fedoraproject.org
sudo pacman -S sedArch Linux sync databases · sed · source: geo.mirror.pkgbuild.com
sudo zypper install sedopenSUSE Tumbleweed package metadata · sed · source: download.opensuse.org
choco install sedChocolatey community package catalog · sed · source: community.chocolatey.org
scoop install main/sedScoop official bucket manifest trees · bucket/sed.json · source: api.github.com
winget install --id mbuilov.sed -eWindows Package Manager source index · mbuilov.sed · source: cdn.winget.microsoft.com
overview
GNU implementation of the famous stream editor
history
GNU sed is the GNU implementation of sed, the Unix stream editor. It is a non-interactive command-line text editor used to transform text from files or pipelines.
GNU sed carries forward the sed model of scripted, line-oriented editing. The GNU manual documents it as a stream editor that makes one pass over input, distinguishing it from interactive editors while keeping the ed-like idea of applying commands to selected text.
The GNU sed repository README describes the package as the GNU implementation of the Unix stream editor and points users to the GNU website, NEWS file, ChangeLog, AUTHORS, and installed Info/man documentation. The manual copyright history begins in 1998 and the documented command set grew to include GNU extensions such as in-place editing, separate-file processing, sandbox mode, null-data processing, and extended regular-expression options.
sed is a standard part of shell programming culture, and GNU sed became the expected sed on many GNU/Linux systems. Its behavior also matters on macOS and BSD systems because developers often install GNU sed through package managers when scripts depend on GNU extensions rather than the platform sed.
Practitioners use GNU sed for one-liners, build scripts, packaging scripts, log processing, generated-file edits, substitutions, deletions, selected printing, and in-place changes. Common workflows pass a script directly on the command line, load scripts with -f, read standard input in a pipeline, or combine sed with find, sort, grep, awk, and shell loops.
GNU sed is a package-ecosystem stress test because tiny semantic differences affect thousands of scripts. Options such as -i, -E, -z, --posix, and --sandbox are small command-line details that determine whether a script is portable, GNU-specific, or safer to run on generated input.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
sed | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://www.gnu.org/software/sed/
install metadata
| Package key | brew:gnu-sed |
|---|---|
| Version | 4.10 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/gnu-sed |
| Homepage | https://www.gnu.org/software/sed/ |
| Repository | https://git.savannah.gnu.org/cgit/sed.git |
| Upstream docs | https://www.gnu.org/software/sed/manual/sed.html |
| License | GPL-3.0-or-later |
| Source archive | https://ftpmirror.gnu.org/gnu/sed/sed-4.10.tar.xz |
| Last updated | 2026-04-22T14:27:47Z |
| Pulse | updated |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
| Caveats | GNU "sed" has been installed as "gsed". If you need to use it as "sed", you can add a "gnubin" directory to your PATH from your bashrc like: PATH="$HOMEBREW_PREFIX/opt/gnu-sed/libexec/gnubin:$PATH" |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gnu-sed |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
sed 4.9-2+deb13u1
GNU stream editor for filtering/transforming text
https://www.gnu.org/software/sed/
sudo apt install sedsed 4.9-2build1
GNU stream editor for filtering/transforming text
https://www.gnu.org/software/sed/
sudo apt install sedsed 4.10-r0
GNU stream editor
https://www.gnu.org/software/sed
sudo apk add sedsed-doc 4.10-r0
GNU stream editor (documentation)
https://www.gnu.org/software/sed
sudo apk add sed-docsed 4.10-1.fc45
A GNU stream text editor
sudo dnf install sedsed 4.10-1
GNU stream editor
https://www.gnu.org/software/sed/
sudo pacman -S sedsed 4.10-1.2
A Stream-Oriented Non-Interactive Text Editor
https://www.gnu.org/software/sed/
sudo zypper install sedsed-lang 4.10-1.2
Translations for package sed
https://www.gnu.org/software/sed/
sudo zypper install sed-langsed
choco install sedmain/sed
scoop install main/sedmbuilov.sed
winget install --id mbuilov.sed -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.