macOS
brew install sdlocal Homebrew formula metadata
sudo port install sdMacPorts ports tree · textproc/sd/Portfile · source: api.github.com
brew / rank 1265
Intuitive find & replace CLI. Version 1.1.0 via Homebrew; verified 2026-09-16. Also installable with debian: sudo apt install sd.
install
brew install sdlocal Homebrew formula metadata
sudo port install sdMacPorts ports tree · textproc/sd/Portfile · source: api.github.com
sudo apk add sdAlpine Linux edge package indexes · sd · source: dl-cdn.alpinelinux.org
sudo apt install sdDebian stable package indexes · sd · source: deb.debian.org
nix profile install nixpkgs#sdnixpkgs package indexes · pkgs/by-name/sd/sd/package.nix · source: api.github.com
sudo pacman -S sdArch Linux sync databases · sd · source: geo.mirror.pkgbuild.com
sudo zypper install sdopenSUSE Tumbleweed package metadata · sd · source: download.opensuse.org
choco install sdChocolatey community package catalog · sd · source: community.chocolatey.org
scoop install main/sdScoop official bucket manifest trees · bucket/sd.json · source: api.github.com
winget install --id chmln.sd -eWindows Package Manager source index · chmln.sd · source: cdn.winget.microsoft.com
overview
Intuitive find & replace CLI
history
sd is a Rust command-line utility for straightforward regular-expression or literal find-and-replace operations on streams and files.
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.
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.
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.
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.
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 |
|---|---|---|---|
sd | 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:sd |
|---|---|
| Version | 1.1.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/sd |
| Homepage | https://github.com/chmln/sd |
| Repository | https://github.com/chmln/sd |
| License | MIT |
| Source archive | https://github.com/chmln/sd/archive/refs/tags/v1.1.0.tar.gz |
| Last updated | 2026-09-16T17:52:26+02:00 |
| Pulse | updated |
| Build dependencies | rust |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | sd |
| 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.
sd 1.0.0-3+b6
intuitive find and replace CLI
sudo apt install sdsd
nix profile install nixpkgs#sdsd 1.0.0-2
intuitive find and replace CLI
sudo apt install sdsd 1.1.0-r0
An intuitive find & replace CLI
sudo apk add sdsd-bash-completion 1.1.0-r0
Bash completions for sd
sudo apk add sd-bash-completionsd-doc 1.1.0-r0
An intuitive find & replace CLI (documentation)
sudo apk add sd-docsd-fish-completion 1.1.0-r0
Fish completions for sd
sudo apk add sd-fish-completionsd-zsh-completion 1.1.0-r0
Zsh completions for sd
sudo apk add sd-zsh-completionsd 1.1.0-1
Intuitive find & replace
sudo pacman -S sdsd 1.1.0-1.3
Intuitive find & replace CLI
sudo zypper install sdsd-bash-completion 1.1.0-1.3
Bash Completion for sd
sudo zypper install sd-bash-completionsd-fish-completion 1.1.0-1.3
Fish Completion for sd
sudo zypper install sd-fish-completionsd-zsh-completion 1.1.0-1.3
Zsh Completion for sd
sudo zypper install sd-zsh-completionsd
sudo port install sdsd
choco install sdmain/sd
scoop install main/sdsource 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.