# 使用 Homebrew 安装 apibuilder-cli

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

## 安装

```sh
sudo av install brew:apibuilder-cli
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install apibuilder-cli
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:apibuilder-cli
- **软件包管理器:** Homebrew
- **版本:** 0.2.4
- **来源摘要:** Command-line interface to generate clients for api builder
- **主页:** <https://www.apibuilder.io>
- **仓库:** <https://github.com/apicollective/apibuilder-cli>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- apibuilder (别名)
- create-config (别名)
- read-config (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

apibuilder-cli is the command-line interface for API Builder, a platform for managing API descriptions and invoking code generators. It lets users list organizations and applications, upload API descriptors, generate clients, and update local generated code from project configuration.

### 项目历史

The public apicollective/apibuilder-cli repository was created in 2015. The README describes a CLI centered on the app.apibuilder.io service: public APIs need no setup, while private APIs use a generated configuration file containing an API token.

The broader API Builder site presents the service as tooling for modern APIs, including management, sharing, version history, native libraries, and code generators. The CLI is the package-manager-facing piece of that ecosystem, exposing generator and upload workflows to scripts.

### 采用历史

The README documents Homebrew installation on macOS and a shell install path for other platforms. The batch input shows Homebrew packaging, which is consistent with a developer workflow tool used from local repositories and CI jobs rather than as a long-running service.

### 使用方式

The CLI can list organizations, applications, and versions; invoke a named generator into a target directory; upload an API descriptor with a version; update generated code based on .apibuilder/config; clean API Builder versions not tagged in the source repository; and check or upgrade the CLI itself.

Private API use stores tokens in ~/.apibuilder/config. Project update workflows use a YAML .apibuilder/config file in the current repository to specify organizations, projects, versions, generators, target paths, file patterns, and generator attributes.

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

apibuilder-cli matters as glue between an API catalog and generated client/server code in a local source tree. For package users, the interesting bits are the split between global credentials and per-project generator config, and the fact that the CLI can be driven from Git hooks or continuous delivery with silent upload and clean modes.

### 时间线

- 2015: Public apicollective/apibuilder-cli repository created.
- 2010s: README documents Homebrew installation and token-backed private API setup.
- 2026: Repository metadata shows continued pushes to the public repository.

### Related projects

- apibuilder-cli is related to the API Builder web service, app.apibuilder.io generators, API descriptor formats, and generated clients such as Play, http4s, Android, Kotlin, and other generator-backed outputs.

### 来源

- <https://api.github.com/repos/apicollective/apibuilder-cli>
- <https://app.apibuilder.io/generators>
- <https://github.com/apicollective/apibuilder-cli#readme>
- <https://www.apibuilder.io/>
- 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: ~/.apibuilder/config, .apibuilder/config

## Credential files

- Unix: ~/.apibuilder/config

## Combined YAML source

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


## 来源

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