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

/api/formula/gnu-which.json (JSON API)

Formula code on GitHub

Bottle (binary package) installation support provided for macOS releases:

Intel x86_64 big sur, catalina, mojave, high sierra, sierra
Apple Silicon big sur

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="$(brew --prefix)/opt/gnu-which/libexec/gnubin:$PATH"

Analytics:

Installs (30 days)
gnu-which 365
Installs on Request (30 days)
gnu-which 279
Build Errors (30 days)
gnu-which 0
Installs (90 days)
gnu-which 1,181
Installs on Request (90 days)
gnu-which 929
Installs (365 days)
gnu-which 5,435
Installs on Request (365 days)
gnu-which 4,714
Fork me on GitHub