# 使用 Homebrew 安装 decompose

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install decompose
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:decompose
- **软件包管理器:** Homebrew
- **版本:** 1.11.8
- **来源摘要:** Reverse-engineering tool for docker environments
- **主页:** <https://github.com/s0rg/decompose>
- **仓库:** <https://github.com/s0rg/decompose>
- **最后更新:** 2026-07-28T14:10:37+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- decompose (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.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


## Combined YAML source

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


## 来源

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