# 使用 Homebrew 安装 configen

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

## 安装

```sh
sudo av install brew:configen
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install configen
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:configen
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/configen>
- **版本:** 1.1.2
- **来源摘要:** Configuration file code generator for use in Xcode projects
- **主页:** <https://github.com/theappbusiness/ConfigGenerator>
- **仓库:** <https://github.com/theappbusiness/ConfigGenerator>
- **许可证:** MIT
- **源码归档:** <https://github.com/theappbusiness/ConfigGenerator/archive/refs/tags/1.1.2.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- configen (cli)
- configen (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.1.2
- 本地数据: OK
- 上游仓库: https://github.com/theappbusiness/ConfigGenerator
- 检测到的最新版本: 1.1.2 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

configen is a small Xcode-oriented configuration code generator. It reads a mapping file and one or more property-list files, then generates Swift or Objective-C configuration code for app builds.

### 项目历史

The project was published by The App Business as ConfigGenerator, with the executable named configen. The README frames it around robust multi-environment iOS builds: developers keep per-environment values in plist files, describe expected keys and types in a .map file, and add configen as an external build step.

The release feed shows a compact lifecycle: v1.0.0 in 2017, Swift 4 and Xcode 9 compatibility soon after, Swift 4.2/Xcode 10 compatibility in 2018, array support in 2019, and a Swift 5 update in 2020.

### 采用历史

Official installation guidance is project-local: download a release binary or build the Xcode project, copy the executable into the app repository, and wire it into Xcode schemes. The supplied Homebrew package fact shows how the same binary-oriented workflow was also made installable through a package manager.

### 使用方式

Typical usage is configen --plist-path <plist> --hints-path <mapping-file> --class-name <output-class-name> --output-directory <output-directory>, optionally with --objective-c. It is aimed at build-time generation of typed configuration constants for multiple app environments.

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

configen is package-nerd relevant as a narrow, app-build helper that Homebrew turns into a repeatable CLI dependency. It is less a general configuration system than a fossil of a common iOS packaging need: typed, generated build configuration from plist-era project assets.

### 时间线

- 2017: v1.0.0 release published; v1.0.1 updated the project for Swift 4 and Xcode 9.
- 2018: v1.0.2 updated the project for Swift 4.2 and Xcode 10.
- 2019: v1.1.0 added plist array support; v1.0.3 sorted generated variables to reduce git diffs.
- 2020: v1.1.2 updated the project to Swift 5.

### Related projects

- Official documentation ties configen to Xcode, Swift, Objective-C, plist files, mapping files, schemes, and external build-system targets.

### 来源

- <https://github.com/theappbusiness/ConfigGenerator#readme>
- <https://github.com/theappbusiness/ConfigGenerator/releases>
- <https://github.com/theappbusiness/ConfigGenerator/releases/tag/v1.0.0>
- <https://github.com/theappbusiness/ConfigGenerator/releases/tag/v1.0.1>
- <https://github.com/theappbusiness/ConfigGenerator/releases/tag/v1.0.2>
- <https://github.com/theappbusiness/ConfigGenerator/releases/tag/1.1.0>
- <https://github.com/theappbusiness/ConfigGenerator/releases/tag/1.1.2>


## 安全说明

narrow executable package without higher-risk signals.

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


## 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: <project>/Config/*.map, <project>/Config/*.plist
## 源数据库详情

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


## 相关链接

- [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.
- [mogenerator](https://pkg.so/zh-hans/brew/mogenerator/) - Shares pkgdb curated category or tags: cli, code-generation, developer-tools, objective-c, swift.
- [objc-codegenutils](https://pkg.so/zh-hans/brew/objc-codegenutils/) - Shares pkgdb curated category or tags: cli, code-generation, developer-tools, objective-c, xcode.
- [sourcery](https://pkg.so/zh-hans/brew/sourcery/) - Shares pkgdb curated category or tags: cli, code-generation, developer-tools, swift.
- [mockolo](https://pkg.so/zh-hans/brew/mockolo/) - Shares pkgdb curated category or tags: cli, code-generation, developer-tools, swift.
- [rswift](https://pkg.so/zh-hans/brew/rswift/) - Shares pkgdb curated category or tags: cli, code-generation, developer-tools, swift.
- [create-api](https://pkg.so/zh-hans/brew/create-api/) - Shares pkgdb curated category or tags: cli, code-generation, developer-tools, swift.
- [dhall-bash](https://pkg.so/zh-hans/brew/dhall-bash/) - Shares pkgdb curated category or tags: cli, code-generation, configuration, developer-tools.
- [plank](https://pkg.so/zh-hans/brew/plank/) - Shares pkgdb curated category or tags: cli, code-generation, developer-tools, objective-c.

## Combined YAML source

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


## 来源

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