FORMULAv3.12
grep for macOS
GNU grep, egrep and fgrep
Installation on macOS (Apple Silicon & Intel)
brew install grep
Package Metadata
| Identifier | grep |
|---|---|
| Current Version | 3.12 |
| Tap Repository | homebrew/core |
| License | GPL-3.0-or-later |
| Upstream Homepage | https://www.gnu.org/software/grep/ |
| Last Verified | 2026-11-26T14:43:31Z |
Runtime Dependencies (1)
Build Dependencies (1)
Engineering Caveats
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"
Related macOS Packages
greenmaskPostgreSQL dump and obfuscation toolgrepcidrFilter IP addresses matching IPv4 CIDR/network specificationgrcColorize logfiles and command outputgrepipFilters IPv4 & IPv6 addresses with a grep-compatible interfacegrayskullRecipe generator for CondagrexCommand-line tool for generating regular expressionsgravityEmbeddable programming languagegridcraft-cliHeadless GridCraft CLI and MCP server to inspect, convert and script workbooks