peco is a lightweight interactive filtering tool designed for command-line workflows. Written in Go, it provides a single binary solution for searching and selecting items from input streams in real-time, eliminating the need for external scripts or dependencies.
The tool excels at filtering various data types including process statistics, logs, and files. As you type your query, results update instantly, allowing you to narrow down exactly what you need. Key capabilities include:
- prefixPipe information from any command-line tool directly to peco for seamless filtering. Whether you're searching through process lists, finding specific files, or managing repositories, peco integrates naturally into existing command-line workflows. The fuzzy search feature is particularly useful for partial pattern matching, while the SmartCase filter intelligently switches between case-sensitive and case-insensitive modes based on your query.
$ brew install peco