Installing GNU grep and find on OS X
Prathamesh Sonpatki
Posted on May 24, 2021
brew install grep
brew install findutils
After that update your .bashrc
or .zshrc
with following to setup the paths correctly.
# .bashrc/.zshrc
export PATH="/usr/local/opt/findutils/libexec/gnubin:$PATH"
export PATH="/usr/local/opt/grep/libexec/gnubin:$PATH"
That's all!
💖 💪 🙅 🚩
Prathamesh Sonpatki
Posted on May 24, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.