macOS
brew install infracostlocal Homebrew formula metadata
sudo port install infracostMacPorts ports tree · sysutils/infracost/Portfile · source: api.github.com
brew / rank 1492
Cost estimates for Terraform, Terragrunt, and CloudFormation. Version 2.14.2 via Homebrew; verified 2026-08-03. Also installable with nix: nix profile install nixpkgs#infracost.
install
brew install infracostlocal Homebrew formula metadata
sudo port install infracostMacPorts ports tree · sysutils/infracost/Portfile · source: api.github.com
nix profile install nixpkgs#infracostnixpkgs package indexes · pkgs/by-name/in/infracost/package.nix · source: api.github.com
choco install infracostChocolatey community package catalog · infracost · source: community.chocolatey.org
scoop install main/infracostScoop official bucket manifest trees · bucket/infracost.json · source: api.github.com
winget install --id Infracost.Infracost -eWindows Package Manager source index · Infracost.Infracost · source: cdn.winget.microsoft.com
overview
Cost estimates for Terraform, Terragrunt, and CloudFormation
history
Infracost is a cloud-cost estimation CLI for infrastructure as code, built to show engineers cost impact before infrastructure changes are deployed.
Infracost's early public explanation framed the project as a response to cloud-pricing complexity and tools that surfaced cost too late in the delivery process. The August 2020 launch post described a CLI for bringing cost visibility into development and operations workflows, initially around AWS and Terraform.
The project expanded from a standalone open source CLI into a broader FinOps workflow around pull requests, CI/CD, editor integrations, and Infracost Cloud. Its README describes the CLI as the core engine for Terraform, Terragrunt, and CloudFormation cost analysis.
Infracost adoption followed infrastructure-as-code review habits: developers run it locally, CI systems post cost changes to pull requests, and teams discuss cost before merging. In 2023, Infracost made its GitHub App integration free, emphasizing broad PR coverage and simpler setup across many repositories.
Package-manager availability matters because the tool is usually installed on developer laptops, CI runners, and automation images rather than deployed as a long-lived server.
Users run the `infracost` CLI against IaC directories to estimate cost, compare diffs, or scan projects. The tool pairs naturally with Terraform and Terragrunt workflows, where cost feedback in a pull request can change a resource choice before it reaches production.
The CLI has authentication flows and SaaS integrations, but the package itself is best understood as a developer and CI executable. The input data is infrastructure code; the output is a cost breakdown, policy signal, or PR comment.
Infracost is significant in package-manager culture because it turns cloud billing into a local lint-like developer concern. Installing it with Homebrew puts a FinOps check beside formatters, linters, Terraform, and cloud CLIs.
It also marks a shift in infrastructure tooling from deployment-only commands to pre-merge economic analysis, a small executable sitting in the path between IaC authors and cloud invoices.
security posture
infrastructure mutation or orchestration signal.
orange risk · medium confidence · infrastructure
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
infracost | executable | indexed executable | Discovered from the local executable index. |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:infracost |
|---|---|
| Version | 2.14.2 |
| Package manager | Homebrew |
| Homepage | https://www.infracost.io/docs/ |
| Repository | https://github.com/infracost/cli |
| Last updated | 2026-08-03T15:05:17Z |
| Pulse | updated |
| Bottle | not recorded |
| Service | none declared |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
infracost
nix profile install nixpkgs#infracostinfracost
sudo port install infracostinfracost
choco install infracostmain/infracost
scoop install main/infracostInfracost.Infracost
winget install --id Infracost.Infracost -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.