Skip to content

sd

Agent-readyGit & GitHubProductivity

Find and replace, code mods, and regex-lite edits from the terminal.

Find and replace, code mods, and regex-lite edits from the terminal. Built by chmln.

Task fit

find and replace, code mods, and regex-lite edits from the terminal.

Lane

Review PRs, triage issues, inspect workflows, and keep repo work agent-safe.

Operator brief

Use sd for find and replace, code mods, and regex-lite edits from the terminal.

Run `sd 'foo' 'bar' file.txt` and see what comes back.

Repository family

chmln

First trust check

sd responds locally and is ready for the first real command.

Safe first loop

Install, verify, then run one real command.

GitHub review loop

Install command

$ brew install sd

Operator pack

Copy or export the working notes for this CLI before handing it to an agent.

Verify

$ sd --version

sd responds locally and is ready for the first real command.

First real command

$ sd 'foo' 'bar' file.txt

First steps

  1. 01Install sd.
  2. 02Run `sd --version` first.
  3. 03Start with `sd 'foo' 'bar' file.txt`.
  4. 04Install the CLI and make sure it is on your PATH.

When to use / hold off when

Best for

find and replace, code mods, and regex-lite edits from the terminal.

Use this when

You need productivity workflows in both local dev and CI.

Hold off when

You don't work with productivity workflows.

Trust and constraints

trusted89/100
Install readyTrustedCaution
JSON outputNo
Non-interactiveYes
CI-friendlyYes

Why operators pick it

  • sd fits git & github well, especially for find and replace, code mods, and regex-lite edits from the terminal.
  • 2,614 homebrew installs (30d).
  • Easy to automate.

Constraints

  • Output is mostly plain text.
  • Start with read-only or dry-run commands.

Repository context

Other CLIs in this family

This is the only CLI surfaced from this family right now.

Facts and links

Install withbrew
Homebrew installs (30d)2.6K
GitHub stars7K
LicenseMIT
UpdatedFeb 25, 2026