pkg.soopen package index

brew / rank 5358

Install sad with Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper, scoop

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

Additional install commands

macOS

Homebrewverified · 100%
brew install sad

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install sad

MacPorts ports tree · textproc/sad/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add sad

Alpine Linux edge package indexes · sad · source: dl-cdn.alpinelinux.org

Fedora dnfverified · 92%
sudo dnf install sad

Fedora Rawhide package metadata · sad · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#sad

nixpkgs package indexes · pkgs/by-name/sa/sad/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S sad

Arch Linux sync databases · sad · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install sad

openSUSE Tumbleweed package metadata · sad · source: download.opensuse.org

Windows

Scoopverified · 92%
scoop install main/sad

Scoop official bucket manifest trees · bucket/sad.json · source: api.github.com

overview

Package summary

CLI search and replace | Space Age seD

Commands and aliases

  • sad

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • Project development: sad emerges as a Rust-based, diff-first batch-editing tool inspired by sd.
  • Current distribution: Official instructions cover Homebrew, Scoop, Arch Linux, release packages, and Cargo installation.

Related projects

  • The official README identifies sd and ripgrep as alternatives for stdin-to-stdout replacement. It also integrates optionally with fzf for interactive selection and Git-compatible pagers such as delta or diff-so-fancy for colored previews.

Sources

  • Official project README: https://github.com/ms-jpq/sad#readme
  • Supplied input fields: source_facts.description, source_facts.package-manager, source_facts.repo

security posture

Risk level: yellow

generalized runtime or code generation signal.

Risk classifier

yellow risk · medium confidence · runtime

Why

  • generalized runtime or code generation signal

Signals

  • text:repl

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 8 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
sadcliglobal executable

freshness

Version and 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.

page generated2026-09-19
manager version0.4.32
manager updated2026-09-13
local dataok
upstreamcurrent
latest detectedv0.4.32

https://github.com/ms-jpq/sad

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:sad
Version0.4.32
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/sad
Homepagehttps://github.com/ms-jpq/sad
Repositoryhttps://github.com/ms-jpq/sad
LicenseMIT
Source archivehttps://github.com/ms-jpq/sad/archive/refs/tags/v0.4.32.tar.gz
Last updated2026-09-13T13:43:57Z
Pulseupdated
Build dependenciesrust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namesad
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

sad

nix profile install nixpkgs#sad
  • normalized package name match
  • Matched by: Sad
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/sa/sad/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

sad 0.4.23-r0

CLI search and replace - a batch file edit tool

https://github.com/ms-jpq/sad

sudo apk add sad
  • License: MIT
  • Architecture: x86_64
  • Source Package: sad
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Sad
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: sad from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

sad 0.4.32-5.fc45

CLI search and replace tool

https://github.com/ms-jpq/sad

sudo dnf install sad
  • License: (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND MIT AND (Unlicense OR MIT)
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: sad
  • 5 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Sad
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: sad from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst
pacman95%

sad 0.4.32-3

Space Age seD

https://github.com/ms-jpq/sad

sudo pacman -S sad
  • License: MIT
  • Architecture: x86_64
  • 2 dependencies
  • 3 optional deps
  • normalized package name match
  • Matched by: Sad
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: sad from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

sad 0.4.32-1.5

CLI search and replace batch file editing tool

https://github.com/ms-jpq/sad

sudo zypper install sad
  • License: (0BSD OR Apache-2.0 OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: sad
  • 4 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Sad
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: sad from https://download.opensuse.org/tumbleweed/repo/oss/repodata/d310d5a96106e1e8872a385adf98aaa23be9db5d80937a6717314e7e7f37715065c6c748ab7ccee6475d620b46979c0fe64235fc0c46988e17edf659578fcf31-primary.xml.zst
MacPorts95%

sad

sudo port install sad
  • normalized package name match
  • Matched by: Sad
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/sad/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/sad

scoop install main/sad
  • normalized package name match
  • Matched by: Sad
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/sad.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation