Automic VaultAutomic Vault

brew

sloth-cli を Homebrew, MacPorts, Nix でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install sloth-cli

local Homebrew formula metadata

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

MacPorts ports tree · aqua/sloth/Portfile · ソース: api.github.com

Linux

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

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

概要

パッケージ概要

Prometheus SLO generator

履歴

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

Sloth is a Prometheus SLO generator distributed as the `sloth` CLI by the Homebrew `sloth-cli` formula. It turns service-level-objective specifications into Prometheus recording and alerting rules, including multi-window, multi-burn-rate alerting.

プロジェクトの歴史

The official repository describes Sloth as an easy way to generate Prometheus SLOs from a simple SLO spec. The GitHub repository was created in 2021, and the first GitHub release listed by the official API is v0.1.0 published on 2021-05-05.

The changelog shows the project growing from a focused CLI into a broader SLO toolchain: v0.10.0 added directory discovery for generated SLO files, v0.13.0 migrated rule generation to plugins, v0.15.0 exposed SLO generation as a Go library, and v0.16.0 added a server command and UI work.

採用の歴史

Sloth fits the GitOps and Kubernetes observability audience: the official CLI docs say the generate mode only needs the CLI, making it useful for CI, scripts, and toolboxes.

Homebrew, MacPorts, and Nix package mappings in the input facts show adoption across common developer package managers, and the Homebrew formula API reported 545 installs-on-request over 365 days for the batch's lookup window.

使われ方

The documented quick start is `sloth generate -i ./examples/getting-started.yml`, producing Prometheus rules from an SLO specification.

The official CLI usage page says `generate` supports multiple spec types, including the default Prometheus rules output and Kubernetes Prometheus-operator rules output.

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

Sloth matters to package-manager users because it packages SRE practice into a single CLI binary: SLO definitions can live in repositories and CI systems rather than only inside dashboards or vendor SaaS.

It is also a modern example of observability tooling being shipped through developer package managers so teams can pin, upgrade, and run it in local and automated workflows.

タイムライン

  • 2021: GitHub repository created.
  • 2021: v0.1.0 released on GitHub.
  • 2022: v0.10.0 added directory discovery for CLI generation.
  • 2025: v0.15.0 exposed Sloth SLO generation as a Go library.
  • 2026: v0.16.0 added server/UI work and Kubernetes transformer plugins.

Related projects

  • Sloth is built around Prometheus, Prometheus Operator, Kubernetes, OpenSLO, and Google's SRE multi-window multi-burn-rate alerting guidance.
  • The project also points users to `slok/sloth-common-sli-plugins` for common SLI plugins.

セキュリティ状態

リスクレベル: グリーン

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 件のビルド依存関係があります。

推奨レビュー

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

実行可能ファイル

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

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

鮮度

バージョンと鮮度

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

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

https://github.com/slok/sloth

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

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:sloth-cli
バージョン0.16.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/sloth-cli
ホームページhttps://sloth.dev/
リポジトリhttps://github.com/slok/sloth
上流ドキュメントhttps://sloth.dev/introduction
ライセンスApache-2.0
ソースアーカイブhttps://github.com/slok/sloth/archive/refs/tags/v0.16.0.tar.gz
ビルド依存関係go
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

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

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

MacPorts94%

sloth

sudo port install sloth
  • installed executable or alias match
  • 一致条件: Sloth
MacPorts ports tree · api.github.com · MacPorts ports tree: aqua/sloth/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Nix92%

sloth

nix profile install nixpkgs#sloth
  • installed executable or alias match
  • 一致条件: Sloth
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/sl/sloth/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 package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment