pkg.soopen package index

brew / 排名 1492

使用 Homebrew, chocolatey, MacPorts, Nix, scoop, winget 安装 infracost

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install infracost

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install infracost

MacPorts ports tree · sysutils/infracost/Portfile · 来源: api.github.com

Linux

Nix已验证 · 92%
nix profile install nixpkgs#infracost

nixpkgs package indexes · pkgs/by-name/in/infracost/package.nix · 来源: api.github.com

Windows

Chocolatey已验证 · 92%
choco install infracost

Chocolatey community package catalog · infracost · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install main/infracost

Scoop official bucket manifest trees · bucket/infracost.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id Infracost.Infracost -e

Windows Package Manager source index · Infracost.Infracost · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Cost estimates for Terraform, Terragrunt, and CloudFormation

命令和别名

  • infracost

历史

项目历史与用法

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.

时间线

  • 2020: Infracost was introduced publicly as a CLI for cloud cost estimates from infrastructure as code.
  • 2020: Initial support focused on AWS and Terraform, with Google Cloud support added later that year.
  • 2023: Infracost made its GitHub App integration free and tied the update to CLI v0.10.18.
  • 2026: The GitHub release stream for the CLI included 2.x releases, reflecting continued packaging of the standalone executable.

Related projects

  • Related projects and surfaces include Terraform, Terragrunt, CloudFormation, Infracost Cloud, Infracost GitHub App, Infracost GitHub Actions, editor extensions, and cloud-pricing APIs.

安全态势

风险级别:orange

infrastructure mutation or orchestration signal.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • infrastructure mutation or orchestration signal

信号

  • text:cloud

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
infracost可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本2.14.2
管理器更新时间2026-08-03
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:infracost
版本2.14.2
软件包管理器Homebrew
主页https://www.infracost.io/docs/
仓库https://github.com/infracost/cli
最后更新2026-08-03T15:05:17Z
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

infracost

nix profile install nixpkgs#infracost
  • normalized package name match
  • 匹配方式:Infracost
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/in/infracost/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

infracost

sudo port install infracost
  • normalized package name match
  • 匹配方式:Infracost
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/infracost/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

infracost

choco install infracost
  • normalized package name match
  • 匹配方式:Infracost
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: infracost from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='9.151999','cports'
Scoop95%

main/infracost

scoop install main/infracost
  • normalized package name match
  • 匹配方式:Infracost
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/infracost.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

Infracost.Infracost

winget install --id Infracost.Infracost -e
  • normalized package name match
  • 匹配方式:Infracost
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Infracost.Infracost from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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