grep
PopularFormula Utilities v3.12
GNU grep, egrep and fgrep
About
Install grep on macOS with Homebrew Formula using `brew install grep`. grep is a Utilities command-line package with version 3.12. The package is listed in homebrew/core.
Install 1 App in Terminal
$
brew install grep
Dependencies
Build Dependencies
Installation Notes
All commands have been installed with the prefix "g". If you need to use these commands with their normal names, you can add a "gnubin" directory to your PATH from your bashrc like: PATH="$HOMEBREW_PREFIX/opt/grep/libexec/gnubin:$PATH"
Official Homebrew Stats
Install activity metrics for grep.
30 Days
3.5K total installs
116 installs / day avg
90 Days
11.1K total installs
123 installs / day avg
1 Year
54.7K total installs
150 installs / day avg
Frequently asked questions
How do I install grep with Homebrew?
Run brew install grep in Terminal to install grep as a Homebrew formula on macOS.
What kind of package is grep?
grep is a Utilities Homebrew formula and FastBrew currently shows version 3.12.
What should I review before installing grep?
Review the runtime dependencies (pcre2) and build dependencies (pkgconf) along with any caveats before installing.
Related Utilities Apps
View AllOpen python@3.14
python@3.14
Popular
Interpreted, interactive, object-oriented programming language
Utilities v3.14.6