macOS
brew install gnu-whichlocal Homebrew formula metadata
brew / 順位 980
gnu-which のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install gnu-whichlocal Homebrew formula metadata
sudo apt install gnu-whichDebian stable package indexes · gnu-which · ソース: deb.debian.org
sudo apk add whichAlpine Linux edge package indexes · which · ソース: dl-cdn.alpinelinux.org
sudo dnf install whichFedora Rawhide package metadata · which · ソース: dl.fedoraproject.org
nix profile install nixpkgs#whichnixpkgs package indexes · pkgs/by-name/wh/which/package.nix · ソース: api.github.com
sudo pacman -S whichArch Linux sync databases · which · ソース: geo.mirror.pkgbuild.com
sudo zypper install whichopenSUSE Tumbleweed package metadata · which · ソース: download.opensuse.org
choco install whichChocolatey community package catalog · which · ソース: community.chocolatey.org
scoop install main/whichScoop official bucket manifest trees · bucket/which.json · ソース: api.github.com
winget install --id GnuWin32.Which -eWindows Package Manager source index · GnuWin32.Which · ソース: cdn.winget.microsoft.com
概要
GNU implementation of which utility
履歴
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.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
which | 実行可能ファイル | インデックス済み実行可能ファイル | ローカル実行可能ファイルインデックスから検出されました。 |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:gnu-which |
|---|---|
| バージョン | 2.25 |
| パッケージマネージャ | Homebrew |
| ホームページ | https://savannah.gnu.org/projects/which/ |
| 最終更新 | 2026-05-23T14:07:00-04:00 |
| Pulse | updated |
| Bottle | 未記録 |
| サービス | 宣言なし |
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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 -eソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.