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 sequoia
sonoma
ventura
monterey
Intel sonoma
ventura
monterey
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 97
Installs on Request (30 days)
gnu-which 88
Build Errors (30 days)
gnu-which 0
Installs (90 days)
gnu-which 380
gnu-which --HEAD 1
Installs on Request (90 days)
gnu-which 357
gnu-which --HEAD 1
Installs (365 days)
gnu-which 1,819
gnu-which --HEAD 4
Installs on Request (365 days)
gnu-which 1,714
gnu-which --HEAD 4
Fork me on GitHub