# 使用 Homebrew, Nix, pacman 安装 kbt

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

## 安装

```sh
sudo av install brew:kbt
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install kbt
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#kbt
```

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

- pacman (92%):

```sh
sudo pacman -S kbt
```

  证据: Arch Linux sync databases: kbt from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:kbt
- **软件包管理器:** Homebrew
- **版本:** 2.1.0
- **来源摘要:** Keyboard tester in terminal
- **主页:** <https://github.com/bloznelis/kbt>
- **仓库:** <https://github.com/bloznelis/kbt>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- kbt (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.1.0
## 项目历史与用法

kbt is a Rust terminal keyboard tester whose upstream README expands the name as keyboard tester and frames it as a terminal alternative to online keyboard-test pages.

### 项目历史

The repository was created in March 2023 and published release builds during 2023, with 1.0.0 appearing on July 23, 2023 and 2.1.0 on January 6, 2024. The README presents the project as a deliberately small terminal utility motivated by frustration with semi-broken web-based keyboard testers.

### 采用历史

The package reached CLI users through several package-manager channels recorded in the batch input, including Homebrew, Nix, Arch Linux, and Cargo installation.

### 使用方式

kbt is run as an interactive terminal UI for checking keyboard input and layouts. The README notes Linux, macOS, and Windows support, a Wayland limitation, and a macOS first-run Accessibility permission requirement.

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

For package collectors, kbt is a tidy example of the post-ratatui Rust TUI wave: a small hardware-adjacent diagnostic tool that moved from Cargo-style distribution into mainstream Unix package managers.

### 时间线

- 2023: Repository created for a terminal keyboard tester.
- 2023-07-23: kbt 1.0.0 release published.
- 2024-01-06: kbt 2.1.0 release published.

### Related projects

- The README credits ratatui as the TUI library used to build the interface.

### 来源

- <https://github.com/bloznelis/kbt>
- <https://github.com/bloznelis/kbt/releases>
- <https://github.com/ratatui-org/ratatui>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

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

- Nix - kbt: normalized package name match | nixpkgs package indexes: pkgs/by-name/kb/kbt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - kbt - 2.1.0-1: normalized package name match | Arch Linux sync databases: kbt from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Keyboard tester in terminal | https://github.com/bloznelis/kbt


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
