sd is a command-line tool for finding and replacing text in files and streams. It is aimed at developers and system administrators who need quick search-and-replace operations in a terminal without writing complex sed expressions.
The tool uses regular expressions and is written in Rust. It runs as a command-line program with no graphical interface. The source code is public under the MIT license, so it can be inspected, built and reused freely.
Alternatives to sd
Products that do a similar job in Developer Tools.
ripgrep
command-line search tool that finds regex matches across directory trees
up
Command-line tool for building Linux pipes with a live preview
Windows Terminal
Command-line terminal app and console host for Windows
fzf
Command-line fuzzy finder for lists of files, history and any text
lazygit
Terminal UI for running git commands with keyboard shortcuts
Alacritty
GPU-accelerated terminal emulator for Linux, macOS, Windows and BSD
bat
command-line file viewer with syntax highlighting and git integration
GitHub CLI
Command line tool for working with GitHub from the terminal