pkg.soopen package index

brew / rank 1265

Install sd with Homebrew, apk, chocolatey, apt, MacPorts, Nix, pacman, zypper, scoop, winget

Intuitive find & replace CLI. Version 1.1.0 via Homebrew; verified 2026-09-16. Also installable with debian: sudo apt install sd.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install sd

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install sd

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

Linux

Alpine Linux apkverified · 92%
sudo apk add sd

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

Debian aptverified · 92%
sudo apt install sd

Debian stable package indexes · sd · source: deb.debian.org

Nixverified · 92%
nix profile install nixpkgs#sd

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

Arch Linux pacmanverified · 92%
sudo pacman -S sd

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

openSUSE zypperverified · 92%
sudo zypper install sd

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

overview

Package summary

Intuitive find & replace CLI

Commands and aliases

  • sd

history

Project history and usage

sd is a Rust command-line utility for straightforward regular-expression or literal find-and-replace operations on streams and files.

Project history

sd was created as an intuitive search-and-replace command and presents itself as a focused alternative to sed and awk for common substitutions. It uses familiar regular-expression syntax, supports literal-string matching, and separates search and replacement arguments.

Adoption history

sd is available across Homebrew, Cargo and numerous operating-system package ecosystems. The supplied package metadata also records packages for Alpine, Debian, MacPorts, Nix, Arch Linux, Ubuntu, openSUSE, Chocolatey, Scoop, WinGet, and Homebrew.

How it is used

Users pass separate find and replacement expressions and may process standard input or modify named files in place. Fixed-string, preview, and multiline modes cover common cases, while pipelines with tools such as fd enable project-wide edits.

Why package nerds care

sd belongs to the modern Rust CLI ecosystem that revisits classic Unix tools with focused behavior and friendlier defaults. Its appeal is deliberately narrower than sed: concise, predictable substitution rather than a complete stream-editing language.

Timeline

  • The project established sd as a focused Rust alternative to sed for common substitutions.
  • Later releases added generated manual pages and expanded documentation for in-place edits and replacement escaping.

Related projects

  • The documentation compares sd directly with sed and awk and demonstrates combining it with fd for recursive project-wide replacement.

Sources

  • Official project README: https://github.com/chmln/sd#readme
  • Official releases: https://github.com/chmln/sd/releases
  • Package coverage: source_facts.package-manager

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 6 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
sdcliglobal 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 version1.1.0
manager updated2026-09-16
local dataok
upstreamcurrent
latest detectedv1.1.0

https://github.com/chmln/sd

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:sd
Version1.1.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/sd
Homepagehttps://github.com/chmln/sd
Repositoryhttps://github.com/chmln/sd
LicenseMIT
Source archivehttps://github.com/chmln/sd/archive/refs/tags/v1.1.0.tar.gz
Last updated2026-09-16T17:52:26+02:00
Pulseupdated
Build dependenciesrust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namesd
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • 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.

Debian apt95%

sd 1.0.0-3+b6

intuitive find and replace CLI

https://github.com/chmln/sd

sudo apt install sd
  • Section: utils
  • Architecture: amd64
  • Source Package: rust-sd
  • 2 dependencies
  • normalized package name match
  • Matched by: Sd
Debian stable package indexes · deb.debian.org · Debian stable package indexes: sd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

sd

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

sd 1.0.0-2

intuitive find and replace CLI

https://github.com/chmln/sd

sudo apt install sd
  • Section: universe/utils
  • Architecture: amd64
  • Source Package: rust-sd
  • 2 dependencies
  • normalized package name match
  • Matched by: Sd
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: sd from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

sd 1.1.0-r0

An intuitive find & replace CLI

https://github.com/chmln/sd

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

sd-bash-completion 1.1.0-r0

Bash completions for sd

https://github.com/chmln/sd

sudo apk add sd-bash-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: sd
  • normalized package name match
  • Matched by: Sd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: sd-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

sd-doc 1.1.0-r0

An intuitive find & replace CLI (documentation)

https://github.com/chmln/sd

sudo apk add sd-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: sd
  • normalized package name match
  • Matched by: Sd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: sd-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

sd-fish-completion 1.1.0-r0

Fish completions for sd

https://github.com/chmln/sd

sudo apk add sd-fish-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: sd
  • normalized package name match
  • Matched by: Sd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: sd-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

sd-zsh-completion 1.1.0-r0

Zsh completions for sd

https://github.com/chmln/sd

sudo apk add sd-zsh-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: sd
  • normalized package name match
  • Matched by: Sd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: sd-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

sd 1.1.0-1

Intuitive find & replace

https://github.com/chmln/sd

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

sd 1.1.0-1.3

Intuitive find & replace CLI

https://github.com/chmln/sd

sudo zypper install sd
  • License: (Apache-2.0 OR MIT) AND (MIT OR Unlicense) AND BSD-3-Clause AND MIT AND (MIT OR Unlicense)
  • Category: System/Base
  • Architecture: x86_64
  • Source Package: sd
  • 2 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Sd
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: sd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/d310d5a96106e1e8872a385adf98aaa23be9db5d80937a6717314e7e7f37715065c6c748ab7ccee6475d620b46979c0fe64235fc0c46988e17edf659578fcf31-primary.xml.zst
zypper95%

sd-bash-completion 1.1.0-1.3

Bash Completion for sd

https://github.com/chmln/sd

sudo zypper install sd-bash-completion
  • License: (Apache-2.0 OR MIT) AND (MIT OR Unlicense) AND BSD-3-Clause AND MIT AND (MIT OR Unlicense)
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: sd
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Sd
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: sd-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/d310d5a96106e1e8872a385adf98aaa23be9db5d80937a6717314e7e7f37715065c6c748ab7ccee6475d620b46979c0fe64235fc0c46988e17edf659578fcf31-primary.xml.zst
zypper95%

sd-fish-completion 1.1.0-1.3

Fish Completion for sd

https://github.com/chmln/sd

sudo zypper install sd-fish-completion
  • License: (Apache-2.0 OR MIT) AND (MIT OR Unlicense) AND BSD-3-Clause AND MIT AND (MIT OR Unlicense)
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: sd
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Sd
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: sd-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/d310d5a96106e1e8872a385adf98aaa23be9db5d80937a6717314e7e7f37715065c6c748ab7ccee6475d620b46979c0fe64235fc0c46988e17edf659578fcf31-primary.xml.zst
zypper95%

sd-zsh-completion 1.1.0-1.3

Zsh Completion for sd

https://github.com/chmln/sd

sudo zypper install sd-zsh-completion
  • License: (Apache-2.0 OR MIT) AND (MIT OR Unlicense) AND BSD-3-Clause AND MIT AND (MIT OR Unlicense)
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: sd
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Sd
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: sd-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/d310d5a96106e1e8872a385adf98aaa23be9db5d80937a6717314e7e7f37715065c6c748ab7ccee6475d620b46979c0fe64235fc0c46988e17edf659578fcf31-primary.xml.zst
MacPorts95%

sd

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

sd

choco install sd
  • normalized package name match
  • Matched by: Sd
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: sd from https://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='10.222799','nsis-unicode'
Scoop95%

main/sd

scoop install main/sd
  • normalized package name match
  • Matched by: Sd
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/sd.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.

Combined YAML source

View the package source record on GitHub.

combined/sd.yml

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