macOS
brew install infracostlocal Homebrew formula metadata
sudo port install infracostMacPorts ports tree · sysutils/infracost/Portfile · 来源: api.github.com
安装
brew install infracostlocal Homebrew formula metadata
sudo port install infracostMacPorts ports tree · sysutils/infracost/Portfile · 来源: api.github.com
nix profile install nixpkgs#infracostnixpkgs package indexes · pkgs/by-name/in/infracost/package.nix · 来源: api.github.com
choco install infracostChocolatey community package catalog · infracost · 来源: community.chocolatey.org
scoop install main/infracostScoop official bucket manifest trees · bucket/infracost.json · 来源: api.github.com
winget install --id Infracost.Infracost -eWindows Package Manager source index · Infracost.Infracost · 来源: cdn.winget.microsoft.com
概览
Cost estimates for Terraform, Terragrunt, and CloudFormation
历史
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.
安全态势
infrastructure mutation or orchestration signal.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
infracost | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:infracost |
|---|---|
| 版本 | 2.14.2 |
| 软件包管理器 | Homebrew |
| 主页 | https://www.infracost.io/docs/ |
| 仓库 | https://github.com/infracost/cli |
| 最后更新 | 2026-08-03T15:05:17Z |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
infracost
nix profile install nixpkgs#infracostinfracost
sudo port install infracostinfracost
choco install infracostmain/infracost
scoop install main/infracostInfracost.Infracost
winget install --id Infracost.Infracost -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.