macOS
brew install sdlocal Homebrew formula metadata
sudo port install sdMacPorts ports tree · textproc/sd/Portfile · 来源: api.github.com
安装
brew install sdlocal Homebrew formula metadata
sudo port install sdMacPorts ports tree · textproc/sd/Portfile · 来源: api.github.com
sudo apk add sdAlpine Linux edge package indexes · sd · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#sdnixpkgs package indexes · pkgs/by-name/sd/sd/package.nix · 来源: api.github.com
sudo pacman -S sdArch Linux sync databases · sd · 来源: geo.mirror.pkgbuild.com
sudo zypper install sdopenSUSE Tumbleweed package metadata · sd · 来源: download.opensuse.org
choco install sdChocolatey community package catalog · sd · 来源: community.chocolatey.org
scoop install main/sdScoop official bucket manifest trees · bucket/sd.json · 来源: api.github.com
winget install --id chmln.sd -eWindows Package Manager source index · chmln.sd · 来源: cdn.winget.microsoft.com
概览
Intuitive find & replace CLI
历史
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.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
sd | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:sd |
|---|---|
| 版本 | 1.1.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/sd |
| 主页 | https://github.com/chmln/sd |
| 仓库 | https://github.com/chmln/sd |
| 许可证 | MIT |
| 源码归档 | https://github.com/chmln/sd/archive/refs/tags/v1.1.0.tar.gz |
| 最后更新 | 2026-09-16T17:52:26+02:00 |
| Pulse | updated |
| 构建依赖 | rust |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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/sd来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.