macOS
brew install bktlocal Homebrew formula metadata
安装
brew install bktlocal Homebrew formula metadata
sudo apk add bktAlpine Linux edge package indexes · bkt · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#bktnixpkgs package indexes · pkgs/by-name/bk/bkt/package.nix · 来源: api.github.com
概览
CLI utility for caching the output of subprocesses
历史
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.
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.
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.
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.
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
bkt | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/dimo414/bkt
安装元数据
| 软件包键 | brew:bkt |
|---|---|
| 版本 | 0.8.2 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/bkt |
| 主页 | https://github.com/dimo414/bkt |
| 仓库 | https://github.com/dimo414/bkt |
| 上游文档 | https://docs.rs/bkt/latest/bkt |
| 许可证 | MIT |
| 源码归档 | https://github.com/dimo414/bkt/archive/refs/tags/0.8.2.tar.gz |
| 构建依赖 | rust |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | bkt |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
bkt 0.6.1-2+b8
CLI and Rust library for caching subprocess invocations
sudo apt install bktbkt
nix profile install nixpkgs#bktbkt 0.6.1-2
CLI and Rust library for caching subprocess invocations
sudo apt install bktbkt 0.8.0-r0
A subprocess caching utility
sudo apk add bktbkt-doc 0.8.0-r0
A subprocess caching utility (documentation)
sudo apk add bkt-doc来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.