Automic VaultAutomic Vault

brew

hermit を Homebrew, MacPorts, Nix でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install hermit

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install hermit

MacPorts ports tree · devel/hermit/Portfile · ソース: api.github.com

Linux

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

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

概要

パッケージ概要

Manages isolated, self-bootstrapping sets of tools in software projects

コマンドとエイリアス

  • hermit

履歴

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

Hermit is a project-local toolchain manager from Cash App. It installs development tools into isolated, self-bootstrapping environments so a repository, its contributors, and its CI can share the same command-line tooling without asking users to preconfigure a whole machine.

プロジェクトの歴史

The Hermit and hermit-packages repositories were created on May 20, 2021. The README describes the core mission as uniform tooling for Linux and Mac: self-contained tool sets that travel with a software project.

Hermit's design separates the environment manager from package manifests. The `cashapp/hermit-packages` repository contains HCL manifests that describe how to download, install, and map packages into an environment, while Hermit itself provides activation, package lookup, installation, updating, and shell integration.

The documentation presents Hermit as intentionally narrow. The FAQ says it manages development tools rather than libraries, avoids being a general-purpose package manager, and differs from Nix, Homebrew, Docker, Bazel, GoFish, and asdf by focusing on project-level, self-bootstrapping, binary-tool environments.

採用の歴史

Hermit's adoption path is strongest inside repositories and CI jobs that want reproducible developer tools without adopting a full operating-system package manager or build system. Its docs teach users to commit the generated `bin` directory artifacts such as `activate-hermit`, `hermit`, and `hermit.hcl` so a clone can bootstrap itself.

The presence of a separate manifest repository, a GitHub Action for activating Hermit, Renovate datasource support, and package-manager entries in Homebrew, MacPorts, and Nix reflects a small but durable ecosystem around project-local tool provisioning.

使われ方

A typical workflow starts with `hermit init` in a project, then `. ./bin/activate-hermit` to add the project's `bin` directory and managed environment variables to the shell. Users then install tools with commands such as `hermit install go-1.16.3` or `hermit install rust@nightly protoc`.

Hermit packages can be selected by exact version, channel, or preferred version. The management docs describe manifest sources, periodic syncs, `hermit search`, `hermit list`, `hermit info`, `hermit upgrade`, explicit downgrades with `hermit install`, and `hermit uninstall`.

Hermit's package definitions are HCL manifests commonly retrieved from Git repositories. The official packaging docs describe these manifests as the way packages define source archives, installation behavior, and binary mappings.

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

Hermit occupies a pragmatic middle ground between language-specific version managers and full system package managers. Package nerds care because it turns a repository into its own tool-distribution boundary, but does so by downloading relocatable binary tools instead of building a new universe from source.

Its comparison with asdf is especially revealing: asdf focuses on switching versions of languages and tools for a user, while Hermit focuses on making project tooling consistent and reproducible for teams and CI. That difference explains why Hermit manifests and activation scripts are part of the project workflow rather than only per-user setup.

タイムライン

  • 2021-05-20: Hermit and hermit-packages repositories were created.
  • 2021: Early documentation used Go 1.16.3 and Rust 1.51-era examples, matching Hermit's initial positioning as a project toolchain manager.
  • 2026: The repository and package manifest collection remained active, with documentation covering package manifests, Renovate integration, and multiple shells.

Related projects

  • asdf is the closest version-manager comparison in the official FAQ, but Hermit emphasizes project-level binary tool environments rather than per-user language switching.
  • Nix, Homebrew, Docker, Bazel, and GoFish are comparison points in the FAQ. Hermit deliberately avoids becoming a full OS package manager, build system, or container runtime.
  • `cashapp/hermit-packages`, `cashapp/hermit-build`, and `cashapp/activate-hermit` are companion repositories for manifests, special build artifacts, and CI activation.

ソース

  • Hermit README for project mission and copyright date.
  • Official get-started, package-management, and FAQ docs for workflow and scope boundaries.
  • hermit-packages README for manifest repository role.

セキュリティ状態

リスクレベル: グリーン

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 メタデータは 6 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

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

実行可能ファイル

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

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

鮮度

バージョンと鮮度

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

ページ生成日2026-07-08
マネージャ版0.52.3
マネージャ更新日2026-06-16
ローカルデータOK
上流最新
検出された最新v0.52.3

https://github.com/cashapp/hermit

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:hermit
バージョン0.52.3
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/hermit
ホームページhttps://cashapp.github.io/hermit
リポジトリhttps://github.com/cashapp/hermit
上流ドキュメントhttps://cashapp.github.io/hermit
ライセンスApache-2.0
ソースアーカイブhttps://github.com/cashapp/hermit/archive/refs/tags/v0.52.3.tar.gz
最終更新2026-06-16T08:40:33Z
Pulseupdated
ビルド依存関係go
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし
注意点For shell integration hooks, add the following to your shell configuration: For bash, add the following command to your .bashrc: eval "$(test -x $(brew --prefix)/bin/hermit && $(brew --prefix)/bin/hermit shell-hooks --print --bash)" For zsh, add the following command to your .zshrc: eval "$(test -x $(brew --prefix)/bin/hermit && $(brew --prefix)/bin/hermit shell-hooks --print --zsh)"

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namehermit
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%

hermit

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

hermit

sudo port install hermit
  • normalized package name match
  • 一致条件: Hermit
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/hermit/Portfile from https://api.github.com/repos/macports/macports-ports/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 package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment