Skip to content

Developer tools · code search tool

ag (The Silver Searcher)

Fast command-line code search tool that people prefer over grep and IDE search for its ergonomic defaults, such as flexible casing and simpler file filtering. No criticisms recorded.

Summarized from 6 comments.

Fast command-line code search tool that people prefer over grep and IDE search for its ergonomic defaults, such as flexible casing and simpler file filtering. No criticisms recorded.

recommend
6
criticize
0
months recommended
5 of 13

Why people love it

  • Ergonomic defaults and simpler file filtering · 2

    its file filtering using -g is so much more cumbersome than -G in ag

    Sep 2026 · comment

    ag is also a little more ergonomic with its default flex casing

    Sep 2026 · comment

What hackers pick instead

Every quote

The 5 most detailed of 6 comments. Each links to the original.

  1. its file filtering using -g is so much more cumbersome than -G in ag

    Recommends · Sep 2026 · in “Small programming tricks”

  2. ag is also a little more ergonomic with its default flex casing

    Recommends · Sep 2026 · in “Small programming tricks”

  3. His 6086-character grep-like utility, "ag", from 1993 is all-time favorite

    Recommends · Oct 2026 · in “NetBSD adds a new text editor called atto”

  4. Ag, grep beat IDE searches any day

    Recommends · Jan 2026 · in “Threat Actors Expand Abuse of Microsoft Visual Studio Code”

  5. they are both faster than GNU/Grep

    Recommends · Apr 2026 · in “Show HN: GNU Grep as a PHP Extension”

Counts from 1,795,640 Hacker News comments, Nov 2025 to Nov 2026. How we count · Report a mistake