# 使用 Homebrew, Nix, scoop 安装 bttf

查看 bttf 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:bttf
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install bttf
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#bttf
```

  证据: nixpkgs package indexes: pkgs/by-name/bt/bttf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install main/bttf
```

  证据: Scoop official bucket manifest trees: bucket/bttf.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:bttf
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/bttf>
- **版本:** 0.1.4
- **来源摘要:** CLI tool for datetime arithmetic, parsing, formatting and more
- **主页:** <https://github.com/BurntSushi/bttf>
- **仓库:** <https://github.com/BurntSushi/bttf>
- **许可证:** Unlicense OR MIT
- **源码归档:** <https://github.com/BurntSushi/bttf/archive/refs/tags/0.1.4.tar.gz>
- **最后更新:** 2026-06-11T15:52:32Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- bttf (cli)
- bttf (别名)

## 构建依赖

- rust

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.1.4
- 管理器更新时间: 2026-06-11
- 本地数据: OK
- 上游仓库: https://github.com/BurntSushi/bttf
- 检测到的最新版本: 0.1.4 (当前)
## 项目历史与用法

bttf is a Rust command-line tool by BurntSushi for datetime parsing, formatting, arithmetic, time zones, durations, sequences, and pipeline-friendly transformations. It is young, but it sits in a familiar package niche: small CLIs that make date/time work scriptable.

### 项目历史

The first public release was published in May 2025 under the name Biff. The project README notes that it was later renamed to bttf, and the 0.1.4 release describes itself as the first release after that rename.

The project is built around a structured command model: bttf time, bttf span, and bttf tz subcommands cover actions such as formatting, arithmetic, rounding, sequencing, sorting, and time-zone lookup.

### 采用历史

Adoption is early and package-manager-oriented. The input metadata lists Homebrew and Nix packaging, while the upstream README also publishes precompiled archives and a crates.io package.

Its likely adopters are shell users, Rust users, log wranglers, and developers who need a more careful date/time CLI than basic date(1) pipelines.

### 使用方式

bttf can print the current time, parse RFC 2822/RFC 3339/RFC 9557/ISO 8601 and relative datetimes, add or subtract spans, round durations, generate date sequences, convert time zones, and tag pipeline input so transformed timestamps can be joined back to original lines.

The README documents BTTF_LOCALE as an environment variable affecting locale support, but no persistent config or credentials file is documented.

### 为什么软件包爱好者会关心

bttf is interesting less for age than for taste: it brings modern Rust datetime handling, rich timezone semantics, locale-aware formatting, static binary releases, Homebrew, Nix, and crates.io distribution to the humble date CLI problem.

For package maintainers, the rename from Biff to bttf is a useful bit of provenance because early release artifacts and history may still mention the old name.

### 时间线

- 2025: Initial 0.1.0 release published as Biff.
- 2026: Project renamed from Biff to bttf.
- 2026: bttf 0.1.4 published as the first release after the rename.

### Related projects

- Jiff is the Rust datetime ecosystem context associated with BurntSushi's date/time work.
- date(1) and GNU coreutils date are the traditional Unix tools bttf complements.
- crates.io distributes the Rust package, while Homebrew and Nix package the CLI for system users.

### 来源

- <https://api.github.com/repos/BurntSushi/bttf/releases?per_page=20>
- <https://github.com/BurntSushi/bttf#readme>
- <https://github.com/BurntSushi/bttf/blob/master/GUIDE.md>
- <https://github.com/BurntSushi/bttf/releases>
- source_facts.package-manager


## 安全说明

没有找到 bttf 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** bttf
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 其他软件包管理器记录

- Nix - bttf: normalized package name match | nixpkgs package indexes: pkgs/by-name/bt/bttf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - main/bttf: normalized package name match | Scoop official bucket manifest trees: bucket/bttf.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [dprint](https://pkg.so/zh-hans/brew/dprint/) - Shares pkgdb curated category or tags: cli, developer-tools, formatting.
- [git-format-staged](https://pkg.so/zh-hans/brew/git-format-staged/) - Shares pkgdb curated category or tags: cli, developer-tools, formatting.
- [precious](https://pkg.so/zh-hans/brew/precious/) - Shares pkgdb curated category or tags: cli, developer-tools, formatting.
- [editorconfig-checker](https://pkg.so/zh-hans/brew/editorconfig-checker/) - Shares pkgdb curated category or tags: cli, developer-tools, formatting.
- [editorconfig](https://pkg.so/zh-hans/brew/editorconfig/) - Shares pkgdb curated category or tags: cli, developer-tools, formatting.
- [python-tabulate](https://pkg.so/zh-hans/brew/python-tabulate/) - Shares pkgdb curated category or tags: cli, developer-tools, formatting.
- [fish-lsp](https://pkg.so/zh-hans/brew/fish-lsp/) - Shares pkgdb curated category or tags: cli, developer-tools, formatting.
- [neocmakelsp](https://pkg.so/zh-hans/brew/neocmakelsp/) - Shares pkgdb curated category or tags: cli, developer-tools, formatting.
- [tsc-output-format](https://pkg.so/zh-hans/npm/tsc-output-format/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, formatting, more.
- [cargo-sort](https://pkg.so/zh-hans/brew/cargo-sort/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, formatting.
- [cctz](https://pkg.so/zh-hans/brew/cctz/) - Local package facts share a topical domain. Shared terms: cli, date, developer, developer-tools, time.

## Combined YAML source

View the package source record on GitHub. [combined/bttf.yml](https://github.com/mxcl/pkgdb/blob/main/combined/bttf.yml)


## 来源

- pkg.so package database
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
