# bkt を Homebrew, apk, apt, Nix でインストール

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

## インストール

```sh
sudo av install brew:bkt
```

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

### macOS

- Homebrew (100%):

```sh
brew install bkt
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add bkt
```

  証拠: Alpine Linux edge package indexes: bkt from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install bkt
```

  証拠: Debian stable package indexes: bkt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#bkt
```

  証拠: nixpkgs package indexes: pkgs/by-name/bk/bkt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:bkt
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/bkt>
- **バージョン:** 0.8.2
- **ソース概要:** CLI utility for caching the output of subprocesses
- **ホームページ:** <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>
- **生成日時:** 2026-07-25T07:20:51+00:00

## 実行可能ファイル

- bkt (cli)
- bkt (エイリアス)

## ビルド依存関係

- rust

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-07-25
- マネージャ版: 0.8.2
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/dimo414/bkt
- 検出された最新: 0.8.2 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

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.

### タイムライン

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

### ソース

- <https://crates.io/crates/bkt>
- <https://docs.rs/bkt/latest/bkt>
- <https://github.com/dimo414/bkt#readme>
- source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## ソースデータベース詳細

- **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:** stable

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

- Debian apt - bkt - 0.6.1-2+b8: normalized package name match | Debian stable package indexes: bkt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | CLI and Rust library for caching subprocess invocations | https://bkt.rs/
- Nix - bkt: normalized package name match | nixpkgs package indexes: pkgs/by-name/bk/bkt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - bkt - 0.6.1-2: normalized package name match | Ubuntu 24.04 LTS package indexes: bkt from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | CLI and Rust library for caching subprocess invocations | https://bkt.rs/
- apk - bkt - 0.8.0-r0: normalized package name match | Alpine Linux edge package indexes: bkt from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | A subprocess caching utility | https://www.bkt.rs/
- apk - bkt-doc - 0.8.0-r0: normalized package name match | Alpine Linux edge package indexes: bkt-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | A subprocess caching utility (documentation) | https://www.bkt.rs/


## 関連リンク

- [Source-control packages](https://www.automicvault.com/ja/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/ja/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/ja/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [rust](https://www.automicvault.com/ja/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [bottom](https://www.automicvault.com/ja/pkg/brew/bottom/) - Shares av.db curated category or tags: cli, rust, system.
- [brush](https://www.automicvault.com/ja/pkg/brew/brush/) - Shares av.db curated category or tags: cli, rust, system.
- [comtrya](https://www.automicvault.com/ja/pkg/brew/comtrya/) - Shares av.db curated category or tags: cli, rust, system.
- [crabz](https://www.automicvault.com/ja/pkg/brew/crabz/) - Shares av.db curated category or tags: cli, rust, system.
- [cyme](https://www.automicvault.com/ja/pkg/brew/cyme/) - Shares av.db curated category or tags: cli, rust, system.
- [czkawka](https://www.automicvault.com/ja/pkg/brew/czkawka/) - Shares av.db curated category or tags: cli, rust, system.
- [ddh](https://www.automicvault.com/ja/pkg/brew/ddh/) - Shares av.db curated category or tags: cli, rust, system.
- [diskus](https://www.automicvault.com/ja/pkg/brew/diskus/) - Shares av.db curated category or tags: cli, rust, system.
- [lsd](https://www.automicvault.com/ja/pkg/brew/lsd/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, output, rust, system.
- [nuls](https://www.automicvault.com/ja/pkg/brew/nuls/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, output, rust, system.

## Combined YAML source

View the package source record on GitHub. [combined/bkt.yml](https://github.com/automic-vault/db/blob/main/combined/bkt.yml)


## ソース

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
