# 使用 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
- **版本:** 0.1.4
- **来源摘要:** CLI tool for datetime arithmetic, parsing, formatting and more
- **主页:** <https://github.com/BurntSushi/bttf>
- **仓库:** <https://github.com/BurntSushi/bttf>
- **最后更新:** 2026-06-11T15:52:32Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- bttf (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 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。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


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

- 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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
