# 使用 Homebrew, winget 安装 comtrya

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

## 安装

```sh
sudo av install brew:comtrya
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install comtrya
```

  证据: local Homebrew formula metadata

### Windows

- winget (92%):

```sh
winget install --id Comtrya.Comtrya -e
```

  证据: Windows Package Manager source index: Comtrya.Comtrya from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:comtrya
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/comtrya>
- **版本:** 0.9.2
- **来源摘要:** Configuration and dotfile management tool
- **主页:** <https://comtrya.dev>
- **仓库:** <https://github.com/comtrya/comtrya-dotfiles>
- **上游文档:** <https://comtrya.dev>
- **许可证:** MIT
- **源码归档:** <https://github.com/comtrya/comtrya-dotfiles/archive/refs/tags/v0.9.2.tar.gz>
- **最后更新:** 2026-07-09T08:54:47Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- comtrya (cli)
- comtrya (别名)

## 构建依赖

- rust

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.9.2
- 管理器更新时间: 2026-07-09
- 本地数据: OK
- 上游仓库: https://github.com/comtrya/comtrya-dotfiles
- 检测到的最新版本: v0.9.2 (当前)
## 项目历史与用法

Comtrya is a Rust-based system provisioning and configuration tool whose official mdBook presents it as a way to configure machines with YAML or TOML manifests.

### 项目历史

The public documentation describes Comtrya around declarative manifests, actions, variants, privilege escalation, and package operations, placing it in the same practical space as dotfile managers and lightweight configuration-management tools.

### 采用历史

Its package-manager significance is mostly as a niche Homebrew-packaged CLI rather than a broadly adopted platform; the official sources do not provide enough release or user-adoption narrative for a fuller chronology.

### 使用方式

Users write manifests in YAML or TOML and run the CLI to apply system, file, directory, package, user, and macOS-specific actions.

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

Comtrya is notable for package catalogs because it represents the dotfiles/configuration-management pattern in a small Rust CLI with declarative manifests and cross-platform ambitions.

### 来源

- <https://comtrya.dev/>
- <https://github.com/comtrya/comtrya>


## 安全说明

narrow executable package without higher-risk signals.

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

## 源数据库详情

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

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

- winget - Comtrya.Comtrya: normalized package name match | Windows Package Manager source index: Comtrya.Comtrya from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [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.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [rex](https://pkg.so/zh-hans/brew/rex/) - Shares pkgdb curated category or tags: cli, configuration-management, system.
- [confd](https://pkg.so/zh-hans/brew/confd/) - Shares pkgdb curated category or tags: cli, configuration-management, system.
- [bork](https://pkg.so/zh-hans/brew/bork/) - Shares pkgdb curated category or tags: cli, configuration-management, system.
- [augeas](https://pkg.so/zh-hans/brew/augeas/) - Shares pkgdb curated category or tags: cli, configuration-management, system.
- [fd](https://pkg.so/zh-hans/brew/fd/) - Shares pkgdb curated category or tags: cli, rust, system.
- [eza](https://pkg.so/zh-hans/brew/eza/) - Shares pkgdb curated category or tags: cli, rust, system.
- [uutils-coreutils](https://pkg.so/zh-hans/brew/uutils-coreutils/) - Shares pkgdb curated category or tags: cli, rust, system.
- [nushell](https://pkg.so/zh-hans/brew/nushell/) - Shares pkgdb curated category or tags: cli, rust, system.

## Combined YAML source

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


## 来源

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