# Install inframap with Homebrew, Nix

Read your tfstate or HCL to generate a graph. Version 0.8.1 via Homebrew; verified 2026-04-23.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install inframap
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## Package facts

- **Package key:** brew:inframap
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/inframap>
- **Version:** 0.8.1
- **Source summary:** Read your tfstate or HCL to generate a graph
- **Homepage:** <https://github.com/cycloidio/inframap>
- **Repository:** <https://github.com/cycloidio/inframap>
- **Upstream docs:** <https://github.com/cycloidio/inframap#readme>
- **License:** MIT
- **Source archive:** <https://github.com/cycloidio/inframap/archive/refs/tags/v0.8.1.tar.gz>
- **Last updated:** 2026-04-23T17:47:57Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- inframap (cli)
- inframap (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.8.1
- Package-manager updated: 2026-04-23
- Local data: ok
- Upstream repository: https://github.com/cycloidio/inframap
- Upstream latest detected: v0.8.1 (current)
## Project history and usage

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

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <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>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** inframap
- **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

## Other Package-Manager Records

- 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


## Related links

- [Cloud CLI packages](https://www.automicvault.com/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [terraform-graph-beautifier](https://www.automicvault.com/pkg/brew/terraform-graph-beautifier/) - Shares av.db curated category or tags: cli, cloud-infrastructure, graph, terraform, visualization.
- [cf2tf](https://www.automicvault.com/pkg/brew/cf2tf/) - Shares av.db curated category or tags: cli, cloud-infrastructure, hcl, terraform.
- [aiac](https://www.automicvault.com/pkg/brew/aiac/) - Shares av.db curated category or tags: cli, cloud-infrastructure, terraform.
- [atlantis](https://www.automicvault.com/pkg/brew/atlantis/) - Shares av.db curated category or tags: cli, cloud-infrastructure, terraform.
- [aztfexport](https://www.automicvault.com/pkg/brew/aztfexport/) - Shares av.db curated category or tags: cli, cloud-infrastructure, terraform.
- [cdktf](https://www.automicvault.com/pkg/brew/cdktf/) - Shares av.db curated category or tags: cli, cloud-infrastructure, terraform.
- [cf-terraforming](https://www.automicvault.com/pkg/brew/cf-terraforming/) - Shares av.db curated category or tags: cli, cloud-infrastructure, terraform.
- [infracost](https://www.automicvault.com/pkg/brew/infracost/) - Shares av.db curated category or tags: cli, cloud-infrastructure, terraform.

## Combined YAML source

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


## Sources

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