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 264
Installs on Request (30 days)
gnu-which 254
Build Errors (30 days)
gnu-which 0
Installs (90 days)
gnu-which 540
gnu-which --HEAD 1
Installs on Request (90 days)
gnu-which 515
gnu-which --HEAD 1
Installs (365 days)
gnu-which 1,925
gnu-which --HEAD 7
Installs on Request (365 days)
gnu-which 1,826
gnu-which --HEAD 7
Fork me on GitHub