Automic VaultAutomic Vault

brew

Install sloth-cli with Homebrew, MacPorts, Nix

Prometheus SLO generator. Version 0.16.0 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install sloth-cli

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install sloth

MacPorts ports tree · aqua/sloth/Portfile · source: api.github.com

Linux

Nixverified · 92%
nix profile install nixpkgs#sloth

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

overview

Package summary

Prometheus SLO generator

Commands and aliases

  • sloth

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
slothcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.16.0
manager updated
local dataok
upstreamcurrent
latest detectedv0.16.0

https://github.com/slok/sloth

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:sloth-cli
Version0.16.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/sloth-cli
Homepagehttps://sloth.dev/
Repositoryhttps://github.com/slok/sloth
Upstream docshttps://sloth.dev/introduction
LicenseApache-2.0
Source archivehttps://github.com/slok/sloth/archive/refs/tags/v0.16.0.tar.gz
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

MacPorts94%

sloth

sudo port install sloth
  • installed executable or alias match
  • Matched by: 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
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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