bkt
« Back to VersTracker
Description:
CLI utility for caching the output of subprocesses
Type: Formula  |  Latest Version: 0.8.2@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: cache cli productivity shell developer-tools
Install: brew install bkt
About:
bkt is a command-line caching utility that stores and reuses the output of expensive subprocesses based on a time-to-live (TTL) or custom key. It significantly speeds up workflows by avoiding redundant executions of commands like API calls, builds, or data processing. The tool is designed for shell scripting and developer productivity, offering fine-grained control over cache invalidation.
Key Features:
  • Time-based cache expiration (TTL)
  • Custom cache keying for flexible reuse
  • Process isolation and concurrent execution safety
  • Minimal overhead and easy shell integration
Use Cases:
  • Caching results of slow API queries or database lookups during development
  • Speeding up shell prompts that require expensive computations (e.g., git status, AWS metadata)
  • Debouncing resource-intensive build or test commands in scripts
Alternatives:
  • cached-nix-shell – Nix-specific environment caching, whereas bkt is a general-purpose command cache.
  • memoize (bash function) – Custom shell functions lack bkt's TTL, concurrency handling, and persistence across sessions.
License: MIT
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, sonoma, ventura, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Sep 12, 2025 7:14pm 0 VERSION_BUMP 77cfed6c
Sep 28, 2024 12:27pm 0 VERSION_BUMP e96940b6
Sep 26, 2024 12:27pm 0 VERSION_BUMP 8aabd405