# 使用 Homebrew 安装 decompose

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

## 安装

```sh
sudo av install brew:decompose
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install decompose
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:decompose
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/decompose>
- **版本:** 1.11.8
- **来源摘要:** Reverse-engineering tool for docker environments
- **主页:** <https://github.com/s0rg/decompose>
- **仓库:** <https://github.com/s0rg/decompose>
- **上游文档:** <https://github.com/s0rg/decompose#readme>
- **许可证:** MIT
- **源码归档:** <https://github.com/s0rg/decompose/archive/refs/tags/v1.11.8.tar.gz>
- **最后更新:** 2026-06-13T12:05:25Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- decompose (cli)
- decompose (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 1.11.8
- 管理器更新时间: 2026-06-13
- 本地数据: OK
- 上游仓库: https://github.com/s0rg/decompose
- 检测到的最新版本: v1.11.8 (当前)
## 项目历史与用法

decompose is a Go command-line tool for inspecting live Docker environments and turning observed container network connections into graph, tree, JSON, CSV, PlantUML, Structurizr DSL, and Compose-style output.

### 项目历史

The project README explains the origin in a practical operations problem: the author needed to visualize and inspect a large dockerized legacy system with more than 470 containers and little documentation. That origin shaped the tool as a reverse-engineering utility rather than a deployment orchestrator.

The official release stream shows decompose reaching v0.9.1 in August 2023 and v1.0.0 the next day, with later 1.x releases continuing through 2026.

### 采用历史

decompose is packaged for Homebrew and also distributed upstream as release binaries, deb and rpm packages, and a Docker image. That makes it usable both as a local terminal tool and as a throwaway container for infrastructure inspection.

### 使用方式

Package users run decompose when they need an observed map of an existing Docker estate. The README emphasizes stdout-oriented Unix behavior, sorted output for version control, offline processing from saved JSON streams, metadata enrichment, and multiple graph/export formats.

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

decompose is interesting to package people because it sits between Docker introspection, graph tooling, and documentation recovery. It is a small CLI that packages a messy operational task - discovering what containers actually talk to - into reproducible text outputs.

### 时间线

- 2023: v0.9.1 release appears on GitHub.
- 2023: v1.0.0 is published.
- 2026: v1.11.8 is published.

### Related projects

- The README compares decompose with docker-autocompose, dockviz, docker-network-graph, and Weave Scope, while also exporting to ecosystems such as Graphviz, PlantUML, Structurizr DSL, and Docker Compose.

### 来源

- <https://github.com/s0rg/decompose>
- <https://github.com/s0rg/decompose/releases/tag/v0.9.1>
- <https://github.com/s0rg/decompose/releases/tag/v1.0.0>
- <https://github.com/s0rg/decompose/releases/tag/v1.11.8>
- <https://formulae.brew.sh/formula/decompose>


## 安全说明

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:** decompose
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## 相关链接

- [Cloud CLI packages](https://www.automicvault.com/zh-hans/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [cdebug](https://www.automicvault.com/zh-hans/pkg/brew/cdebug/) - Shares av.db curated category or tags: cli, containers, developer-tools, docker.
- [cekit](https://www.automicvault.com/zh-hans/pkg/brew/cekit/) - Shares av.db curated category or tags: cli, containers, developer-tools, docker.
- [devcontainer](https://www.automicvault.com/zh-hans/pkg/brew/devcontainer/) - Shares av.db curated category or tags: cli, containers, developer-tools, docker.
- [diffoci](https://www.automicvault.com/zh-hans/pkg/brew/diffoci/) - Shares av.db curated category or tags: cli, containers, developer-tools, docker.
- [dockcheck](https://www.automicvault.com/zh-hans/pkg/brew/dockcheck/) - Shares av.db curated category or tags: cli, containers, developer-tools, docker.
- [docker](https://www.automicvault.com/zh-hans/pkg/brew/docker/) - Shares av.db curated category or tags: cli, containers, developer-tools, docker.
- [docker-buildx](https://www.automicvault.com/zh-hans/pkg/brew/docker-buildx/) - Shares av.db curated category or tags: cli, containers, developer-tools, docker.
- [docker-clean](https://www.automicvault.com/zh-hans/pkg/brew/docker-clean/) - Shares av.db curated category or tags: cli, containers, developer-tools, docker.
- [docker-debug](https://www.automicvault.com/zh-hans/pkg/brew/docker-debug/) - Local package facts share a topical domain. Shared terms: cli, container, containers, developer, developer-tools.
- [docker-gen](https://www.automicvault.com/zh-hans/pkg/brew/docker-gen/) - Local package facts share a topical domain. Shared terms: cli, container, containers, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/decompose.yml](https://github.com/automic-vault/db/blob/main/combined/decompose.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
