ack

A grep-like source code search tool built for programmers working in large code trees.

These buttons open the developer's own site, repository or store listing in a new tab. wares.gg does not host downloads.

2 more ways to get ack

Package managers

About ack

ack is a grep-like tool for searching source code. It is designed for programmers with large, mixed trees of source code and is written in portable Perl 5, using Perl's regular expressions.

Version 3.10.0, released in June 2025, added repeatable --and, --or and --not options for combining patterns, clearer error messages for invalid regexes, and a --proximate option that groups matches that sit near each other in a file. The site includes a feature chart comparing it with similar tools.

Strengths

  • Built for searching source code rather than general text
  • Full Perl regular expressions
  • Boolean --and, --or and --not options

Limitations

  • Needs a Perl interpreter
  • Newer tools such as ripgrep are typically faster on very large trees

Details

Pricing
FreeFree and open source.
License
Artistic-2.0
Developer
Andy Lester
Platforms
Windows, macOS, Linux, Command line
How it runs
Downloadable app
Account
Not required
Works offline
Yes
Best suited for
Programmers searching large source trees from the terminal
Last verified
Added
Provenance
Facts checked against the developer's own pages and store listings, 1 sources on file.

Alternatives to ack

Compare all

Software that can replace ack for an important use case, and what changes if you switch.

  • ripgrep

    Searches a whole directory tree for a pattern in a fraction of the time grep takes, and skips what gitignore says to skip.

    ripgrep is a single binary with no Perl interpreter needed, runs faster on large trees and respects gitignore by default, though its regex syntax differs slightly.

  • ugrep

    A grep-compatible file searcher with a text interface, Boolean queries, fuzzy matching and archive search.

    ugrep keeps grep-compatible options and adds an interactive text interface, Boolean and fuzzy search, and searching inside archives and compressed files, under a BSD-3-Clause license.

  • ripgrep-all

    ripgrep that can also search inside PDFs, Office documents, ebooks, zip files, databases and subtitles.

    ripgrep-all extends ripgrep to search inside PDFs, Office documents and archives, but depends on external tools such as pandoc and poppler and is AGPL-3.0 licensed.

Similar software

Related functionality, not necessarily a direct replacement.

Report a wrong fact or a dead link on this listing