# 使用 Homebrew, MacPorts, Nix 安装 tbls

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

## 安装

```sh
sudo av install brew:tbls
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install tbls
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install tbls
```

  证据: MacPorts ports tree: databases/tbls/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#tbls
```

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

## 软件包事实

- **软件包键:** brew:tbls
- **软件包管理器:** Homebrew
- **版本:** 1.95.0
- **来源摘要:** CI-Friendly tool to document a database
- **主页:** <https://github.com/k1LoW/tbls>
- **仓库:** <https://github.com/k1LoW/tbls>
- **最后更新:** 2026-07-26T00:50:33+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- tbls (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

tbls is a Go command-line tool for generating, linting, and diffing database documentation in CI-friendly workflows.

### 项目历史

The official repository was created in 2018 and describes tbls as a CI-Friendly tool to document a database. Its README highlights automatic GitHub Flavored Markdown output, multiple output formats, many supported databases, single-binary distribution, and use as a database linter.

The project grew around a repository-centered documentation workflow: add .tbls.yml or tbls.yml, run tbls doc, commit the generated schema docs, and let CI check documentation drift.

### 采用历史

By 2026, official GitHub metadata showed several thousand stars and more than two hundred forks. The input package metadata lists Homebrew, MacPorts, and Nix packages, and the README documents additional installation routes including deb, RPM, Go install, Docker, aqua, and GitHub Actions.

### 使用方式

A typical user points tbls at a database DSN, generates Markdown documentation, and commits both the config and generated docs. The README also documents tbls diff for schema/document drift and linting rules for database quality checks.

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

tbls is interesting to package nerds because it treats database documentation as a reproducible CLI artifact. Its single-binary Go distribution, package-manager availability, and GitHub Actions setup make it easy to pin in CI and run alongside migrations or schema review.

### 时间线

- 2018: GitHub repository created.
- 2021: GitHub release metadata shows the 1.53 and 1.54 series.
- 2026: GitHub release metadata lists the 1.94 series.

### Related projects

- tbls integrates with many database backends through DSNs, including PostgreSQL, MySQL, MariaDB, SQLite, BigQuery, Cloud Spanner, Redshift, SQL Server, DynamoDB, Snowflake, MongoDB, ClickHouse, Databricks, JSON, HTTP, and GitHub-backed schema sources.

### 来源

- <https://api.github.com/repos/k1LoW/tbls>
- <https://api.github.com/repos/k1LoW/tbls/releases>
- <https://github.com/k1LoW/tbls#readme>
- input.source_facts.package-manager


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: .tbls.yml, tbls.yml

## Credential files

- Unix: .tbls.yml, tbls.yml
## 其他软件包管理器记录

- Nix - tbls: normalized package name match | nixpkgs package indexes: pkgs/by-name/tb/tbls/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - tbls: normalized package name match | MacPorts ports tree: databases/tbls/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

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