macOS
brew install sadlocal Homebrew formula metadata
sudo port install sadMacPorts ports tree · textproc/sad/Portfile · source: api.github.com
brew / rank 5358
CLI search and replace | Space Age seD. Version 0.4.32 via Homebrew; verified 2026-09-13. Also installable with nix: nix profile install nixpkgs#sad.
install
brew install sadlocal Homebrew formula metadata
sudo port install sadMacPorts ports tree · textproc/sad/Portfile · source: api.github.com
sudo apk add sadAlpine Linux edge package indexes · sad · source: dl-cdn.alpinelinux.org
sudo dnf install sadFedora Rawhide package metadata · sad · source: dl.fedoraproject.org
nix profile install nixpkgs#sadnixpkgs package indexes · pkgs/by-name/sa/sad/package.nix · source: api.github.com
sudo pacman -S sadArch Linux sync databases · sad · source: geo.mirror.pkgbuild.com
sudo zypper install sadopenSUSE Tumbleweed package metadata · sad · source: download.opensuse.org
scoop install main/sadScoop official bucket manifest trees · bucket/sad.json · source: api.github.com
overview
CLI search and replace | Space Age seD
history
sad is a Rust command-line search-and-replace tool designed for batch file edits. It previews proposed changes as a diff and can use fzf to let users select which changes to apply.
sad, expanded by its author as “Space Age seD,” was created as a batch file editing tool inspired by sd. It combines regular-expression replacement with a reviewable diff so users can inspect or selectively apply changes before files are modified.
The official README documents installation through Homebrew, Scoop, Arch Linux, downloadable Debian/Ubuntu packages, and Cargo. The supplied package facts additionally list apk, Fedora, MacPorts, Nix, and openSUSE packaging, indicating broad adoption among command-line package ecosystems.
Users pipe a list of file paths, commonly from find or fd, into `sad <pattern> <replacement>`. By default it previews changes; `--commit` applies them directly. Optional fzf integration supports selective application, while a Git-compatible pager can colorize the diff.
sad belongs to a modern family of Rust command-line tools that reinterpret classic Unix text-processing workflows. Package enthusiasts value its interactive, diff-first approach and its optional composition with fzf, delta, fd, and other focused terminal utilities.
security posture
generalized runtime or code generation signal.
yellow risk · medium confidence · runtime
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 |
|---|---|---|---|
sad | 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.
install metadata
| Package key | brew:sad |
|---|---|
| Version | 0.4.32 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/sad |
| Homepage | https://github.com/ms-jpq/sad |
| Repository | https://github.com/ms-jpq/sad |
| License | MIT |
| Source archive | https://github.com/ms-jpq/sad/archive/refs/tags/v0.4.32.tar.gz |
| Last updated | 2026-09-13T13:43:57Z |
| Pulse | updated |
| Build dependencies | rust |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | sad |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| 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.
sad
nix profile install nixpkgs#sadsad 0.4.23-r0
CLI search and replace - a batch file edit tool
sudo apk add sadsad 0.4.32-5.fc45
CLI search and replace tool
sudo dnf install sadsad 0.4.32-3
Space Age seD
sudo pacman -S sadsad 0.4.32-1.5
CLI search and replace batch file editing tool
sudo zypper install sadsad
sudo port install sadmain/sad
scoop install main/sadsource 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.