Fast codebase search.
Section: ripgrep (rg)
Search recursively with ripgrep
bash
bash
rg TODO src/Explanation
ripgrep respects common ignore files and is usually faster than recursive grep for code.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing ripgrep (rg)