pkg.sopackage field notes

brew / rank 786

Install cfn-lint with Homebrew

Validate CloudFormation templates against the CloudFormation spec. Version 1.53.3 via Homebrew; verified 2026-07-29.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install cfn-lint

provider-native install command

overview

Package summary

Validate CloudFormation templates against the CloudFormation spec

Commands and aliases

  • cfn-lint

history

Project history and usage

cfn-lint is the AWS CloudFormation linter for validating JSON and YAML templates against CloudFormation resource provider schemas and additional best-practice checks. It is a Python command-line tool, but its real job is to keep infrastructure-as-code feedback local, scriptable, and close to the editor or CI system.

Project history

The official GitHub repository was created under the aws-cloudformation organization in April 2018 and describes the tool as validating CloudFormation templates against AWS CloudFormation resource provider schemas and extra checks. Its README also documents support for AWS Serverless Application Model templates by transforming SAM before linting.

The project has accumulated a large rule set, optional graph, JUnit, and SARIF output dependencies, editor integrations, a GitHub Action, and frequent schema-update releases. That release pattern reflects CloudFormation itself: the linter must track AWS service and resource schema changes continuously rather than behaving like a static syntax checker.

Adoption history

Official installation docs include pip, Homebrew, Docker, and editor integrations for Atom, Emacs, Vim or Neovim, Sublime, Visual Studio Code, and IntelliJ IDEA. The README also links a GitHub Marketplace action and an online demo, showing adoption across local development and CI workflows.

The package metadata in this batch shows cfn-lint packaged for Homebrew and openSUSE, while the official README shows PyPI as the primary distribution channel. For CloudFormation users, it became the expected preflight check before deploying templates.

How it is used

Typical use is `cfn-lint template.yaml`, optionally with multiple templates, shell globs, regions, output formats, custom rules, ignored checks, or SARIF and JUnit outputs for CI. The documented configuration files are `.cfnlintrc`, `.cfnlintrc.yaml`, `.cfnlintrc.yml`, and `~/.cfnlintrc`.

cfn-lint can update or patch CloudFormation specs, build DOT graphs, validate against CloudFormation Registry schemas, and tune exit-code severity. It is best understood as a local policy and schema feedback tool for CloudFormation authors, not as an AWS deployment client.

Why package nerds care

For package nerds, cfn-lint is notable because it packages a fast-moving cloud provider schema surface into an installable CLI. The frequent official releases that update CloudFormation schemas are the interesting bit: package freshness directly affects whether the linter recognizes new AWS resource types and properties.

It also sits at the intersection of several packaging channels: Python packaging for the upstream tool, Homebrew for macOS-heavy infrastructure teams, containers for pinned CI runs, and editor plugins for live feedback.

Timeline

  • 2018: The aws-cloudformation/cfn-lint repository is created on GitHub.
  • 2026: Official releases continue to publish frequent CloudFormation schema updates.
  • 2026: The README documents Python 3.10 through 3.14 support, optional extras, Homebrew installation, Docker usage, editor integrations, and CI outputs.

Related projects

  • AWS CloudFormation provides the template language and resource provider schemas cfn-lint validates against.
  • AWS Serverless Application Model templates are transformed before linting, according to the official README.
  • CloudFormation Guard and CloudFormation Registry are adjacent AWS CloudFormation tools referenced by the project's community and options.

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.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
.cfnlintrc.cfnlintrc.yaml.cfnlintrc.yml~/.cfnlintrc

executables

Installed executables

CommandKindExposureNote
cfn-lintexecutableindexed 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 version1.53.3
manager updated2026-07-29
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:cfn-lint
Version1.53.3
Package managerHomebrew
Homepagehttps://github.com/aws-cloudformation/cfn-lint/
Last updated2026-07-29T21:05:53Z
Pulseupdated
Bottlenot recorded
Servicenone declared

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
  • Nucleus package database
  • curated configuration and credential file locations
  • curated package history
  • pkgdb category and tag curation