gnu-which
Install command:
brew install gnu-whichGNU implementation of which utility
https://savannah.gnu.org/projects/which/
License: GPL-3.0-or-later
Development: Pull requests
Formula JSON API: /api/formula/gnu-which.json
Formula code: gnu-which.rb on GitHub
Bottle (binary package) installation support provided for:
| macOS on Apple Silicon |
golden gate | ✅ |
|---|---|---|
| tahoe | ✅ | |
| sequoia | ✅ | |
| sonoma | ✅ | |
| macOS on Intel |
sonoma | ✅ |
| Linux | ARM64 | ✅ |
| x86_64 | ✅ |
Current versions:
| stable | ✅ | 2.25 |
Binaries:
which
| 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" |
GitHub Packages downloads:
| Last 30 days | 8,075 |
|---|---|
| Downloads | 300,527 |
| Analytics install events (30 days) | 2,412 |
| Downloads / install events (30 days) | 3.4× |
Source: GitHub Packages, fetched 2026-11-11T00:52:55Z. Analytics dates: 2026-10-12 to 2026-11-11. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.
Analytics:
| 30 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 2,412 | 5,781 | 30,082 |
Installs (--HEAD) | 0 | 0 | 5 |
| Installs on Request | 145 | 303 | 2,606 |
Installs on Request (--HEAD) | 0 | 0 | 5 |
| Build Errors | 0 |