macOS
brew install gnu-whichlocal Homebrew formula metadata
brew / rang 980
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de gnu-which pour les workflows d'agents IA.
installation
brew install gnu-whichlocal Homebrew formula metadata
sudo apt install gnu-whichDebian stable package indexes · gnu-which · Source: deb.debian.org
sudo apk add whichAlpine Linux edge package indexes · which · Source: dl-cdn.alpinelinux.org
sudo dnf install whichFedora Rawhide package metadata · which · Source: dl.fedoraproject.org
nix profile install nixpkgs#whichnixpkgs package indexes · pkgs/by-name/wh/which/package.nix · Source: api.github.com
sudo pacman -S whichArch Linux sync databases · which · Source: geo.mirror.pkgbuild.com
sudo zypper install whichopenSUSE Tumbleweed package metadata · which · Source: download.opensuse.org
choco install whichChocolatey community package catalog · which · Source: community.chocolatey.org
scoop install main/whichScoop official bucket manifest trees · bucket/which.json · Source: api.github.com
winget install --id GnuWin32.Which -eWindows Package Manager source index · GnuWin32.Which · Source: cdn.winget.microsoft.com
aperçu
GNU implementation of which utility
historique
GNU Which is the GNU implementation of the which utility, a small command that reports which executable a shell would find for a command name. Its domain is intentionally narrow: inspect command search paths and explain why a name resolves to one program rather than another.
The official Savannah project page is the package home, and the GNU FTP archive records public releases from which 2.16 and 2.17 in 2007 through later 2.x releases. After version 2.21 in 2015, GNU FTP shows renewed releases in the 2.22, 2.23, and 2.25 line during 2025 and 2026.
The utility is widely familiar because shells, Unix variants, and GNU systems all have command lookup workflows. GNU Which remains separately packaged for environments where users want GNU behavior, GNU licensing, or an external executable rather than a shell builtin or shell-specific type command.
Practitioners use which when debugging PATH order, checking whether a package installed the expected executable, documenting build prerequisites, or explaining why scripts pick one compiler, interpreter, or helper over another.
The significance is mostly operational: it is a tiny diagnostic tool for path hygiene. In package-manager culture, which helps confirm shims, keg-only tools, alternatives systems, and GNU-prefixed replacements without reading shell startup files by hand.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
which | exécutable | exécutable indexé | Découvert depuis l'index local des exécutables. |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
métadonnées d'installation
| Clé du paquet | brew:gnu-which |
|---|---|
| Version | 2.25 |
| Gestionnaire de paquets | Homebrew |
| Page d'accueil | https://savannah.gnu.org/projects/which/ |
| Dernière mise à jour | 2026-05-23T14:07:00-04:00 |
| Pulse | updated |
| Bouteille | non enregistré |
| Service | aucun déclaré |
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
gnu-which 2.21+dfsg-5
Utility to show the full path of commands
https://savannah.gnu.org/projects/which
sudo apt install gnu-whichgnu-which 2.21+dfsg-4build1
Utility to show the full path of commands
https://savannah.gnu.org/projects/which
sudo apt install gnu-whichwhich
nix profile install nixpkgs#whichwhich 2.25-r0
A utility to show the full path of commands
https://savannah.gnu.org/projects/which
sudo apk add whichwhich-doc 2.25-r0
A utility to show the full path of commands (documentation)
https://savannah.gnu.org/projects/which
sudo apk add which-docwhich 2.25-2.fc45
Displays where a particular program in your path is located
https://savannah.gnu.org/projects/which/
sudo dnf install whichwhich 2.25-1
A utility to show the full path of commands
https://savannah.gnu.org/projects/which/
sudo pacman -S whichwhich 2.25-1.3
Displays where a particular program in your path is located
https://savannah.gnu.org/projects/which/
sudo zypper install whichwhich
choco install whichmain/which
scoop install main/whichGnuWin32.Which
winget install --id GnuWin32.Which -eallankoechke.which
winget install --id allankoechke.which -episte source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.