pkg.soopen package index

brew / 順位 980

gnu-which を Homebrew, apt, apk, chocolatey, dnf, Nix, pacman, zypper, scoop, winget でインストール

gnu-which のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install gnu-which

local Homebrew formula metadata

Linux

Debian apt確認済み · 92%
sudo apt install gnu-which

Debian stable package indexes · gnu-which · ソース: deb.debian.org

Alpine Linux apk確認済み · 92%
sudo apk add which

Alpine Linux edge package indexes · which · ソース: dl-cdn.alpinelinux.org

Fedora dnf確認済み · 92%
sudo dnf install which

Fedora Rawhide package metadata · which · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#which

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

Arch Linux pacman確認済み · 92%
sudo pacman -S which

Arch Linux sync databases · which · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install which

openSUSE Tumbleweed package metadata · which · ソース: download.opensuse.org

概要

パッケージ概要

GNU implementation of which utility

コマンドとエイリアス

  • which

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 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.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • Homebrew bottle メタデータは記録されていません。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
which実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-08-03
マネージャ版2.25
マネージャ更新日2026-05-23
ローカルデータ不明
上流利用不可
検出された最新未検出
  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:gnu-which
バージョン2.25
パッケージマネージャHomebrew
ホームページhttps://savannah.gnu.org/projects/which/
最終更新2026-05-23T14:07:00-04:00
Pulseupdated
Bottle未記録
サービス宣言なし

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

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 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: 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 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: 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
  • 一致条件: 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 依存関係
  • 1 提供
  • installed executable or alias match
  • 一致条件: 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
  • 一致条件: 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 依存関係
  • 1 提供
  • installed executable or alias match
  • 一致条件: 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 依存関係
  • installed executable or alias match
  • 一致条件: 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 依存関係
  • 2 提供
  • installed executable or alias match
  • 一致条件: 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
  • 一致条件: 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
  • 一致条件: 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
  • 一致条件: 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
  • 一致条件: 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

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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