# 使用 Homebrew, Nix 安装 inframap

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

## 安装

```sh
sudo av install brew:inframap
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install inframap
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#inframap
```

  证据: nixpkgs package indexes: pkgs/by-name/in/inframap/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:inframap
- **软件包管理器:** Homebrew
- **版本:** 0.8.1
- **来源摘要:** Read your tfstate or HCL to generate a graph
- **主页:** <https://github.com/cycloidio/inframap>
- **仓库:** <https://github.com/cycloidio/inframap>
- **最后更新:** 2026-07-26T04:07:49+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- inframap (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

InfraMap is Cycloid's CLI for reading Terraform state or HCL and producing a provider-aware infrastructure graph.

### 项目历史

Cycloid introduced InfraMap as a more human-readable alternative to raw `terraform graph` output. Its README says the tool reads `.tfstate` or HCL, applies provider-specific logic, and emits graphs that emphasize important resources and relationships rather than every dependency node.

The changelog records the first implementation as version 0.1.0 on July 16, 2020. Early releases quickly added a README comparison with Terraform Graph, graph icons, Google Cloud support, Azure support, Terraform version updates, and support for older Terraform state formats.

### 采用历史

InfraMap's adoption footprint is narrower than Terraform itself, but it reached package-manager and container distribution through Homebrew, AUR, Docker images, and Go packaging. That makes it useful as a quick visualization utility on developer machines and CI systems.

The project is also part of Cycloid's small open source infrastructure-tool family alongside TerraCognita and TerraCost, giving it a clear niche in Terraform estate understanding rather than deployment.

### 使用方式

Users pipe `inframap generate` output into Graphviz `dot` or terminal graph renderers such as `graph-easy`. It can read state files, HCL files, modules, or pulled remote state, then simplify the graph with provider-specific connection rules.

The package has no credentials file of its own. When users visualize remote Terraform state, credentials belong to the backend access command, such as `aws s3 cp` or `terraform state pull`, rather than to InfraMap.

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

InfraMap is a tidy example of a package that exists because a platform-native command is technically correct but hard for humans to read. It wraps Terraform graph data in provider-specific visual judgment and ships as a small CLI.

For package nerds, its appeal is the Unix shape: read structured infrastructure input, transform it, and pipe the result to a renderer.

### 时间线

- 2020: Version 0.1.0 was recorded as the first implementation.
- 2020: Version 0.2.0 added graph icons and Google graph generation from state and HCL.
- 2020: Version 0.3.0 added Azure support.
- 2021: Version 0.6.0 added support for Terraform state v3.
- 2024: Version 0.7.0 added a graph-node description file option and included Graphviz in the Docker image.

### Related projects

- Related projects include Terraform, Terraform Graph, Graphviz, graph-easy, TerraCognita, TerraCost, Cycloid's DevOps platform, and cloud providers such as AWS, Google Cloud, Azure, OpenStack, and Flexible Engine.

### 来源

- <https://formulae.brew.sh/formula/inframap>
- <https://github.com/cycloidio/inframap>
- <https://github.com/cycloidio/inframap/blob/master/CHANGELOG.md>
- <https://github.com/cycloidio/inframap/releases>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Nix - inframap: normalized package name match | nixpkgs package indexes: pkgs/by-name/in/inframap/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

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