Automic VaultAutomic Vault

brew

Install bkt with Homebrew, apk, apt, Nix

CLI utility for caching the output of subprocesses. Version 0.8.2 via Homebrew; verified from local package data. Also installable with debian: sudo apt install bkt.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install bkt

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add bkt

Alpine Linux edge package indexes · bkt · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install bkt

Debian stable package indexes · bkt · source: deb.debian.org

Nixverified · 92%
nix profile install nixpkgs#bkt

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

overview

Package summary

CLI utility for caching the output of subprocesses

Commands and aliases

  • bkt

history

Project history and usage

bkt is a Rust CLI and library for caching subprocess invocations. It is a small systems utility for shell prompts, fuzzy finders, polling scripts, and other workflows where repeated command output can be reused.

Project history

The repository and crates.io package appeared in 2021. The README says bkt is pronounced 'bucket', is inspired by bash-cache, and wraps expensive process invocations so callers can reuse recent outputs without adding caching logic to their own programs.

Adoption history

bkt is distributed as a Rust crate, GitHub release binary, and Unix package through Homebrew, Debian/Ubuntu, Alpine, and Nix according to the supplied package facts. The README also tracks package-manager support and links Repology status.

How it is used

A typical invocation prefixes a command with bkt and a TTL, such as bkt --ttl=1m -- date. bkt caches stdout, stderr, and exit status, with options for stale refresh, working-directory and environment-sensitive keys, file modification checks, scopes, failure handling, and cache directory selection.

Why package nerds care

bkt matters to package nerds because it turns a recurring shell pattern into one binary with well-documented cache semantics. It is the kind of low-level CLI that quietly improves prompts and scripts without forcing every project to grow its own memoization layer.

Timeline

  • 2021: bkt repository and crate are created.
  • 2021: The README documents bkt as inspired by bash-cache.
  • 2020s: bkt gains package-manager coverage across Homebrew, Debian/Ubuntu, Alpine, and Nix.
  • 2020s: GitHub releases provide precompiled binaries starting with 0.5.

Related projects

  • bkt is directly related to bash-cache, which the README names as inspiration.
  • It complements shell tools such as fzf by caching expensive commands used in interactive interfaces.

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 8 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
bktcliglobal 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-25
manager version0.8.2
manager updated
local dataok
upstreamcurrent
latest detected0.8.2

https://github.com/dimo414/bkt

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

install metadata

Package metadata

Package keybrew:bkt
Version0.8.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/bkt
Homepagehttps://github.com/dimo414/bkt
Repositoryhttps://github.com/dimo414/bkt
Upstream docshttps://docs.rs/bkt/latest/bkt
LicenseMIT
Source archivehttps://github.com/dimo414/bkt/archive/refs/tags/0.8.2.tar.gz
Build dependenciesrust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namebkt
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • 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.

Debian apt95%

bkt 0.6.1-2+b8

CLI and Rust library for caching subprocess invocations

https://bkt.rs/

sudo apt install bkt
  • Section: misc
  • Architecture: amd64
  • Source Package: rust-bkt
  • 2 dependencies
  • normalized package name match
  • Matched by: Bkt
Debian stable package indexes · deb.debian.org · Debian stable package indexes: bkt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

bkt

nix profile install nixpkgs#bkt
  • normalized package name match
  • Matched by: Bkt
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/bk/bkt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

bkt 0.6.1-2

CLI and Rust library for caching subprocess invocations

https://bkt.rs/

sudo apt install bkt
  • Section: universe/misc
  • Architecture: amd64
  • Source Package: rust-bkt
  • 2 dependencies
  • normalized package name match
  • Matched by: Bkt
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: bkt from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

bkt 0.8.0-r0

A subprocess caching utility

https://www.bkt.rs/

sudo apk add bkt
  • License: MIT
  • Architecture: x86_64
  • Source Package: bkt
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Bkt
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: bkt from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

bkt-doc 0.8.0-r0

A subprocess caching utility (documentation)

https://www.bkt.rs/

sudo apk add bkt-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: bkt
  • normalized package name match
  • Matched by: Bkt
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: bkt-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

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