Serpl
A terminal interface for searching and replacing text across a whole project folder.
These buttons open the developer's own site, repository or store listing in a new tab. wares.gg does not host downloads.
1 more ways to get Serpl
Package managers
- Homebrew
brew install serpl
About Serpl
Serpl brings the project-wide search and replace familiar from VS Code into the terminal. You type a search term, see matching results with an interactive preview, and replace across the folder, with options for case sensitivity and case-preserving replacement.
It uses ripgrep for searching and can optionally use ast-grep for structural code searches. Key bindings and search modes are configurable, and the README describes integration with Neovim and Helix. The author is currently looking for new maintainers.
Strengths
- Interactive preview before replacing
- Case-preserving replacement
- Optional AST-based search with ast-grep
- Works alongside Neovim and Helix
Limitations
- Requires ripgrep to be installed
- Project is seeking new maintainers
Details
- Pricing
- FreeFree and open source under the MIT licence.
- License
- MIT
- Developer
- Yassine Bridi
- Platforms
- Command line
- How it runs
- Downloadable app
- Account
- Not required
- Works offline
- Yes
- Best suited for
- Project-wide find and replace for developers who work in the terminal
- Categories
- Code editors, CLI tools
- Last verified
- Added
- Provenance
- Facts checked against the developer's own pages and store listings, 2 sources on file.
Alternatives to Serpl
Compare allSoftware that can replace Serpl for an important use case, and what changes if you switch.
sad
A command-line batch search and replace tool that shows a diff before changes are applied.
sad shows a diff preview before applying changes and uses fzf for selection instead of its own interface, running on macOS and Linux.
fastmod
A fast command-line tool for interactive regex search and replace across a large codebase.
fastmod reviews each regex replacement interactively across large codebases, without ast-grep support and without requiring ripgrep.
sd
Replace text with a focused command-line tool.
sd is a simpler non-interactive replacement tool with literal and regex modes and no preview, available for Windows, macOS and Linux.
Similar software
Related functionality, not necessarily a direct replacement.
ripgrep
Searches a whole directory tree for a pattern in a fraction of the time grep takes, and skips what gitignore says to skip.
GNU sed
The GNU stream editor for filtering and transforming text from files or pipelines.
delta
A pager that makes git diffs readable: syntax highlighting, word-level changes, side-by-side view and line numbers.
Kakoune
A modal terminal code editor where multiple selections are the main way of editing.
ugrep
A grep-compatible file searcher with a text interface, Boolean queries, fuzzy matching and archive search.
fzf
A fuzzy filter for any list: files, command history, processes, branches, anything you can pipe into it.