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 | 7,416 |
|---|---|
| Downloads | 297,539 |
| Analytics install events (30 days) | 2,458 |
| Downloads / install events (30 days) | 3.0× |
Source: GitHub Packages, fetched 2026-11-03T00:41:21Z. Analytics dates: 2026-10-04 to 2026-11-03. 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,458 | 5,596 | 29,536 |
Installs (--HEAD) | 0 | 0 | 5 |
| Installs on Request | 137 | 295 | 2,594 |
Installs on Request (--HEAD) | 0 | 0 | 5 |
| Build Errors | 0 |