Automic VaultAutomic Vault

brew

has を Homebrew, Nix でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install has

local Homebrew formula metadata

Linux

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

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

概要

パッケージ概要

Checks presence of various command-line tools and their versions on the path

コマンドとエイリアス

  • has

履歴

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

has is Kiran Dabir's dependency-free Bash utility for checking whether named command-line tools are on `PATH` and reporting their installed versions.

プロジェクトの歴史

The official GitHub repository was created in February 2014. The project stayed centered on one portable Bash script while accumulating tool-specific version detection, readable success and failure output, meaningful exit status, and project-local `.hasrc` files.

A tagged GitHub release series is visible from v1.2.0 in 2018 through v1.5.2 in August 2025. The README continues to present direct download and execution as first-class options alongside package managers.

採用の歴史

has spread through several conventions favored by shell users: direct `curl` execution, a copied script on `PATH`, Git installation, Homebrew, asdf, and mise. Supplied metadata also records Homebrew and Nix packages.

使われ方

Users run commands such as `has node npm java git`; the output lists detected versions, and the exit status counts missing commands. A project can commit one tool name per line in `.hasrc`, letting `has` serve as an immediately readable environment preflight for developers and scripts.

パッケージ好きにとっての重要性

has is a strong example of the single-file shell package: no runtime beyond Bash, directly inspectable source, multiple install methods, and behavior useful both interactively and in automation. A committed `.hasrc` also acts as a lightweight executable declaration of a repository's external toolchain.

タイムライン

  • 2014: The official GitHub repository is created.
  • 2018: v1.2.0 begins the visible GitHub release series.
  • 2025: v1.5.2 is released in August.

Related projects

  • asdf-has packages has as an asdf plugin.
  • mise can install has through its version-manager workflow.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

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

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 1 個のプラットフォームターゲットで利用できます。

推奨レビュー

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

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
./.hasrc

実行可能ファイル

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

コマンド種類公開範囲メモ
hascliグローバル実行可能ファイル

鮮度

バージョンと鮮度

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

ページ生成日2026-07-25
マネージャ版1.5.2
マネージャ更新日
ローカルデータOK
上流最新
検出された最新v1.5.2

https://github.com/kdabir/has

  • 情報No package-manager update timestamp was available.信頼度 低

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:has
バージョン1.5.2
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/has
ホームページhttps://github.com/kdabir/has
リポジトリhttps://github.com/kdabir/has
上流ドキュメントhttps://github.com/kdabir/has#readme
ライセンスMIT
ソースアーカイブhttps://github.com/kdabir/has/archive/refs/tags/v1.5.2.tar.gz
Bottle利用可能 (対象 all)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namehas
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

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

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

Nix95%

has

nix profile install nixpkgs#has
  • normalized package name match
  • 一致条件: Has
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ha/has/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

ソース経路

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

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

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment