gnu-which

Install command:
brew install gnu-which

GNU implementation of which utility

https://savannah.gnu.org/projects/which/

License: GPL-3.0-or-later

Formula JSON API: /api/formula/gnu-which.json

Formula code: gnu-which.rb on GitHub

Bottle (binary package) installation support provided for:

Apple Silicon sonoma
ventura
monterey
big sur
Intel sonoma
ventura
monterey
big sur
catalina
mojave
high sierra
sierra
64-bit linux

Current versions:

stable 2.21
GNU "which" has been installed as "gwhich".
If you need to use it as "which", you can add a "gnubin" directory
to your PATH from your bashrc like:

     PATH="$HOMEBREW_PREFIX/opt/gnu-which/libexec/gnubin:$PATH"

Analytics:

Installs (30 days)
gnu-which 231
Installs on Request (30 days)
gnu-which 224
Build Errors (30 days)
gnu-which 0
Installs (90 days)
gnu-which 630
gnu-which --HEAD 1
Installs on Request (90 days)
gnu-which 607
gnu-which --HEAD 1
Installs (365 days)
gnu-which 1,995
gnu-which --HEAD 6
Installs on Request (365 days)
gnu-which 1,897
gnu-which --HEAD 6
Fork me on GitHub