What is ripgrep?
ripgrep (rg) is a line-oriented search tool written in Rust by Andrew Gallant (BurntSushi) that recursively searches the current directory for a regex pattern. It's designed to be a faster alternative to grep with sensible defaults for programmers. With over 50k GitHub stars, it has become the go-to search tool for developers worldwide.
- Faster than grep, ag, git grep, ucg, pt, and sift in most scenarios
- Respects .gitignore by default for relevant searches
- Unicode support with proper handling of encoding
- Parallel directory traversal for maximum performance
⚡ Key Features of ripgrep
🚀 Blazing Fast
Rust implementation with parallel directory traversal and optimized regex engine. Consistently outperforms traditional search tools.
🎯 Smart Defaults
Respects .gitignore, skips hidden files, and ignores binary files by default. Sensible behavior for code searching out of the box.
🌍 Unicode Support
Proper Unicode handling with automatic encoding detection. Search international text and code with confidence.
🎨 Rich Output
Colored output, line numbers, context lines, and multiple output formats including JSON for programmatic use.
🔧 Highly Configurable
Extensive command-line options, configuration files, and custom type definitions for different file formats.
📦 Cross-Platform
Works consistently across Linux, macOS, and Windows with identical features and performance characteristics.
🆕 What's New in ripgrep 14.1.1+
- Performance Improvements: Enhanced regex engine and faster directory traversal
- Better Unicode Support: Improved handling of international text and encoding
- Enhanced Output: Better formatting and color options
- Regex Enhancements: Support for more regex features and patterns
- Configuration Options: More flexible configuration and customization
- Bug Fixes: Various stability improvements and edge case handling
📦 Installation from debian.griffo.io
Step 1: Add Repository
Step 2: Install ripgrep
🎯 Basic Usage Examples
Basic searching:
Advanced patterns:
Integration with other tools:
🚀 Why Choose debian.griffo.io?
- Official Debian: Available but often outdated versions
- Cargo Install: Requires Rust toolchain and compilation
- debian.griffo.io: Latest version (14.1.1+) with automatic updates
- ✅ Latest Performance: Get newest speed optimizations and regex improvements
- ✅ No Rust Compilation: Pre-built binaries, no toolchain needed
- ✅ Automatic Updates: Packages updated within hours of upstream releases
- ✅ Complete Package: Includes shell completions and documentation
- ✅ Multi-Distribution: Works on Bookworm, Trixie, and Sid
- ✅ Easy Maintenance: Standard apt commands for updates
🔗 Related Packages
Also available from debian.griffo.io:
- fzf Fuzzy Finder - Perfect companion for interactive search
- eza - Modern ls replacement
- Yazi File Manager - Terminal file management