macOS
brew install haslocal Homebrew formula metadata
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für has in AI-Agent-Workflows.
Installation
brew install haslocal Homebrew formula metadata
nix profile install nixpkgs#hasnixpkgs package indexes · pkgs/by-name/ha/has/package.nix · Quelle: api.github.com
Überblick
Checks presence of various command-line tools and their versions on the path
Verlauf
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.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
local files
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.
Config paths the tool may read or write during local use.
./.hasrcExecutables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
has | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
Installationsmetadaten
| Paketschlüssel | brew:has |
|---|---|
| Version | 1.5.2 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/has |
| Homepage | https://github.com/kdabir/has |
| Repository | https://github.com/kdabir/has |
| Upstream-Dokumentation | https://github.com/kdabir/has#readme |
| Lizenz | MIT |
| Quellarchiv | https://github.com/kdabir/has/archive/refs/tags/v1.5.2.tar.gz |
| Bottle | verfügbar (auf all) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | has |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
has
nix profile install nixpkgs#hasQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.