Command-line tool
ack
brew/ack
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Search tool like grep, but optimized for programmers
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
scoop install ack
macOS
brew install ack
Search for files containing a string or `regex` in the current directory recursively
ack "search_pattern"
Search for a case-insensitive pattern
ack -i "search_pattern"
Search for lines matching a pattern, printing only the matched text and not the rest of the line
ack -o "search_pattern"
Related command-line tools
- bgrep
Like grep but for binary strings - aki-mline
match line, regex text filter like a grep of linux command. - ripgrep
Search tool like grep and The Silver Searcher rust cli search ripgrep command-line grep regex command-line-tool… - dfu-programmer
Device firmware update based USB programmer for Atmel chips - ast-grep-core
Search and Rewrite code at large scale using precise AST pattern - dngrep
Graphical GREP tool to search across text files, Word and Excel documents, PDFs and archives - ast-grep
Code searching, linting, rewriting rust typescript search command-line static-analysis grep tree-sitter… - hgrep
Grep with human-friendly search results
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents