The Silver Searcher (often referred to as ag) is a fast, open-source command-line code-searching tool, designed as a faster alternative to ack, with a focus on programming-related searches and integration with ignore files. Ag is quite stable now. Most changes are new features, minor bug fixes, or performance improvements. It's much faster than Ack in my benchmarks. Ack and Ag found the same results, but Ag was 34x faster (3.2 seconds vs 110 seconds). My ~/code directory is about 8GB. Thanks to git/hg/ignore, Ag only searched 700MB of that.

Features

  • High-speed recursive searching through directories and code files
  • Honors .gitignore, .hgignore, and custom .ignore files by default
  • Supports multiple output formats and control via many grep-like options
  • Editor integrations available for Vim, Emacs, Sublime Text, etc.
  • Cross‑platform compatibility including UNIX-like systems and Windows
  • Free and open-source under Apache‑2.0 license

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow The Silver Searcher

The Silver Searcher Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of The Silver Searcher!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

C

Related Categories

C Software Development Software

Registered

2025-08-12