scooter

Interactive find and replace in the terminal with live preview

brewmacoslinux
Try with needOr install directly
Source

About

Interactive find and replace in the terminal

Commands

scooter

Examples

find and replace text in a file interactively$ scooter file.txt
search and replace across multiple files at once$ scooter *.js
find and replace with regex patterns$ scooter --regex 'pattern' file.txt
preview changes before replacing text$ scooter --preview file.txt
replace all occurrences without confirmation$ scooter --all 'old' 'new' file.txt