ripgrepBlazingly fast text search tool - recursively searches directories for regex patterns with respect to gitignore rules.
Install via ClawdBot CLI:
clawdbot install Arnarsson/ripgrepInstall ripgrep (brew):
brew install ripgrepInstall ripgrep (apt):
Install ripgrep (apt)Requires:
Fast, smart recursive search. Respects .gitignore by default.
# Search for "TODO" in current directory
rg "TODO"
# Case-insensitive search
rg -i "fixme"
# Search specific file types
rg "error" -t py # Python files only
rg "function" -t js # JavaScript files
# Whole word match
rg -w "test"
# Show only filenames
rg -l "pattern"
# Show with context (3 lines before/after)
rg -C 3 "function"
# Count matches
rg -c "import"
# Multiple file types
rg "error" -t py -t js
# Exclude file types
rg "TODO" -T md -T txt
# List available types
rg --type-list
# Regex search
rg "user_\d+"
# Fixed string (no regex)
rg -F "function()"
# Multiline search
rg -U "start.*end"
# Only show matches, not lines
rg -o "https?://[^\s]+"
# Search specific directory
rg "pattern" src/
# Glob patterns
rg "error" -g "*.log"
rg "test" -g "!*.min.js"
# Include hidden files
rg "secret" --hidden
# Search all files (ignore .gitignore)
rg "pattern" --no-ignore
# Preview replacements
rg "old_name" --replace "new_name"
# Actually replace (requires extra tool like sd)
rg "old_name" -l | xargs sed -i 's/old_name/new_name/g'
# Parallel search (auto by default)
rg "pattern" -j 8
# Skip large files
rg "pattern" --max-filesize 10M
# Memory map files
rg "pattern" --mmap
Find TODOs in code:
rg "TODO|FIXME|HACK" --type-add 'code:*.{rs,go,py,js,ts}' -t code
Search in specific branches:
git show branch:file | rg "pattern"
Find files containing multiple patterns:
rg "pattern1" | rg "pattern2"
Search with context and color:
rg -C 2 --color always "error" | less -R
.gitignore, skips binary filesrg is often faster than grep -r-t for file type filtering instead of --includerg pattern -l | xargs tool~/.ripgreprc--stats to see search performanceGitHub: https://github.com/BurntSushi/ripgrep
User Guide: https://github.com/BurntSushi/ripgrep/blob/master/GUIDE.md
Generated Mar 1, 2026
Developers use ripgrep to quickly locate TODOs, FIXMEs, or deprecated functions across large code repositories, respecting .gitignore to skip build artifacts and dependencies. This accelerates code reviews and refactoring efforts by providing fast, context-aware search results.
IT teams employ ripgrep to search through server logs for specific error patterns or user activities, using file type filtering to focus on .log files and performance options like memory mapping for large datasets. It helps in debugging and monitoring system health efficiently.
Content managers utilize ripgrep to find outdated terms or broken links across documentation websites, leveraging regex for pattern matching and replacement previews to update content systematically. This ensures consistency and accuracy in published materials.
Security analysts apply ripgrep to scan codebases for sensitive data like API keys or hardcoded passwords, using hidden file searches and ignore overrides to cover all directories. It aids in compliance checks and vulnerability assessments.
Offer paid consulting and support services for organizations integrating ripgrep into their workflows, including custom training, performance tuning, and troubleshooting. Revenue is generated through service contracts and enterprise support packages.
Develop and sell plugins or extensions that embed ripgrep functionality into popular IDEs like VS Code or JetBrains products, enhancing search capabilities for developers. Revenue comes from plugin sales or subscription models for premium features.
Provide cloud-based search services that leverage ripgrep's engine for indexing and querying large text datasets, targeting businesses needing fast document retrieval. Revenue is generated via SaaS subscriptions based on usage or data volume.
💬 Integration Tip
Integrate ripgrep into CI/CD pipelines to automate code quality checks, such as scanning for prohibited patterns before deployment, using its command-line simplicity for seamless scripting.
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
Command-line tool to manage Google Workspace services including Gmail, Calendar, Drive, Sheets, Docs, Slides, Contacts, Tasks, People, Groups, and Keep.
Runs shell commands inside a dedicated tmux session named claw, captures, and returns the output, with safety checks for destructive commands.
A modern text-based browser. Renders web pages in the terminal using headless Firefox.
Write robust, portable shell scripts. Use when parsing arguments, handling errors properly, writing POSIX-compatible scripts, managing temp files, running commands in parallel, managing background processes, or adding --help to scripts.
NotebookLM CLI wrapper via `node {baseDir}/scripts/notebooklm.mjs`. Use for auth, notebooks, chat, sources, notes, sharing, research, and artifact generation/download.