CocoaEngineering
FORMULAv2.25

gnu-which for macOS

GNU implementation of which utility

Installation on macOS (Apple Silicon & Intel)

brew install gnu-which

Package Metadata

Identifiergnu-which
Current Version2.25
Tap Repositoryhomebrew/core
LicenseGPL-3.0-or-later
Upstream Homepagehttps://savannah.gnu.org/projects/which/
Last Verified2026-11-26T14:43:31Z

Engineering Caveats

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"
Browse macOS Packages A–Z