pkg.soopen package index

brew / rank 1492

Install infracost with Homebrew, chocolatey, MacPorts, Nix, scoop, winget

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

Additional install commands

macOS

Homebrewverified · 100%
brew install infracost

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install infracost

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

Linux

Nixverified · 92%
nix profile install nixpkgs#infracost

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

Windows

Chocolateyverified · 92%
choco install infracost

Chocolatey community package catalog · infracost · source: community.chocolatey.org

Scoopverified · 92%
scoop install main/infracost

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

Windows Package Managerverified · 92%
winget install --id Infracost.Infracost -e

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

overview

Package summary

Cost estimates for Terraform, Terragrunt, and CloudFormation

Commands and aliases

  • infracost

history

Project history and usage

Infracost is a cloud-cost estimation CLI for infrastructure as code, built to show engineers cost impact before infrastructure changes are deployed.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

security posture

Risk level: orange

infrastructure mutation or orchestration signal.

Risk classifier

orange risk · medium confidence · infrastructure

Why

  • infrastructure mutation or orchestration signal

Signals

  • text:cloud

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
infracostexecutableindexed executableDiscovered from the local executable index.

freshness

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

page generated2026-08-03
manager version2.14.2
manager updated2026-08-03
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:infracost
Version2.14.2
Package managerHomebrew
Homepagehttps://www.infracost.io/docs/
Repositoryhttps://github.com/infracost/cli
Last updated2026-08-03T15:05:17Z
Pulseupdated
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

infracost

nix profile install nixpkgs#infracost
  • normalized package name match
  • Matched by: 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
  • Matched by: 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
  • Matched by: 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
  • Matched by: 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
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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