pkg.soopen package index

brew / rang 980

Installer gnu-which avec Homebrew, apt, apk, chocolatey, dnf, Nix, pacman, zypper, scoop, winget

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

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install gnu-which

local Homebrew formula metadata

Linux

Debian aptvérifié · 92%
sudo apt install gnu-which

Debian stable package indexes · gnu-which · Source: deb.debian.org

Alpine Linux apkvérifié · 92%
sudo apk add which

Alpine Linux edge package indexes · which · Source: dl-cdn.alpinelinux.org

Fedora dnfvérifié · 92%
sudo dnf install which

Fedora Rawhide package metadata · which · Source: dl.fedoraproject.org

Nixvérifié · 92%
nix profile install nixpkgs#which

nixpkgs package indexes · pkgs/by-name/wh/which/package.nix · Source: api.github.com

Arch Linux pacmanvérifié · 92%
sudo pacman -S which

Arch Linux sync databases · which · Source: geo.mirror.pkgbuild.com

openSUSE zyppervérifié · 92%
sudo zypper install which

openSUSE Tumbleweed package metadata · which · Source: download.opensuse.org

Windows

Chocolateyvérifié · 92%
choco install which

Chocolatey community package catalog · which · Source: community.chocolatey.org

Scoopvérifié · 92%
scoop install main/which

Scoop official bucket manifest trees · bucket/which.json · Source: api.github.com

Windows Package Managervérifié · 92%
winget install --id GnuWin32.Which -e

Windows Package Manager source index · GnuWin32.Which · Source: cdn.winget.microsoft.com

aperçu

Résumé du paquet

GNU implementation of which utility

Commandes et alias

  • which

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

  • 2007: GNU FTP archive lists which 2.16 and 2.17.
  • 2015: GNU FTP archive lists which 2.21.
  • 2025: GNU FTP archive lists which 2.22 and 2.23.
  • 2026: GNU FTP archive lists which 2.25.

Related projects

  • Related tools include shell builtins such as command -v and type, POSIX shell command lookup, alternatives systems, and package-manager shim directories.

posture de sécurité

Niveau de risque : vert

narrow executable package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • narrow executable package without higher-risk signals

Signaux

  • metadata:no-higher-risk-signals

Comportement d'installation

  • Aucune métadonnée de bottle Homebrew n’a été enregistrée.

Revue recommandée

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

Exécutables installés

CommandeTypeExpositionNote
whichexécutableexécutable indexéDécouvert depuis l'index local des exécutables.

fraîcheur

Version et 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.

page générée2026-08-03
version du gestionnaire2.25
gestionnaire mis à jour2026-05-23
données localesinconnu
amontnon disponible
dernière version détectéenon détecté
  • OKAucun avertissement de fraîcheur n'a été généré.

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:gnu-which
Version2.25
Gestionnaire de paquetsHomebrew
Page d'accueilhttps://savannah.gnu.org/projects/which/
Dernière mise à jour2026-05-23T14:07:00-04:00
Pulseupdated
Bouteillenon enregistré
Serviceaucun déclaré

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Debian apt95%

gnu-which 2.21+dfsg-5

Utility to show the full path of commands

https://savannah.gnu.org/projects/which

sudo apt install gnu-which
  • Section: utils
  • Architecture: amd64
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Gnu Which
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gnu-which from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

gnu-which 2.21+dfsg-4build1

Utility to show the full path of commands

https://savannah.gnu.org/projects/which

sudo apt install gnu-which
  • Section: universe/utils
  • Architecture: amd64
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Gnu Which
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gnu-which from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Nix92%

which

nix profile install nixpkgs#which
  • installed executable or alias match
  • Correspondance par : Which
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/wh/which/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk92%

which 2.25-r0

A utility to show the full path of commands

https://savannah.gnu.org/projects/which

sudo apk add which
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: which
  • 1 Dépendances
  • 1 fournit
  • installed executable or alias match
  • Correspondance par : Which
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: which from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk92%

which-doc 2.25-r0

A utility to show the full path of commands (documentation)

https://savannah.gnu.org/projects/which

sudo apk add which-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: which
  • installed executable or alias match
  • Correspondance par : Which
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: which-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf92%

which 2.25-2.fc45

Displays where a particular program in your path is located

https://savannah.gnu.org/projects/which/

sudo dnf install which
  • License: GPL-3.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: which
  • 3 Dépendances
  • 1 fournit
  • installed executable or alias match
  • Correspondance par : Which
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: which from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
pacman92%

which 2.25-1

A utility to show the full path of commands

https://savannah.gnu.org/projects/which/

sudo pacman -S which
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • 2 Dépendances
  • installed executable or alias match
  • Correspondance par : Which
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: which from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz
zypper92%

which 2.25-1.3

Displays where a particular program in your path is located

https://savannah.gnu.org/projects/which/

sudo zypper install which
  • License: GPL-3.0-or-later
  • Category: System/Base
  • Architecture: x86_64
  • Source Package: which
  • 1 Dépendances
  • 2 fournit
  • installed executable or alias match
  • Correspondance par : Which
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: which from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
Chocolatey92%

which

choco install which
  • installed executable or alias match
  • Correspondance par : Which
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: which from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','westwindwebsurge'
Scoop92%

main/which

scoop install main/which
  • installed executable or alias match
  • Correspondance par : Which
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/which.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget92%

GnuWin32.Which

winget install --id GnuWin32.Which -e
  • installed executable or alias match
  • Correspondance par : Which
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: GnuWin32.Which from https://cdn.winget.microsoft.com/cache/source.msix
winget92%

allankoechke.which

winget install --id allankoechke.which -e
  • installed executable or alias match
  • Correspondance par : Which
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: allankoechke.which from https://cdn.winget.microsoft.com/cache/source.msix

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation