# cfn-lint を Homebrew, zypper でインストール

cfn-lint のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:cfn-lint
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install cfn-lint
```

  証拠: local Homebrew formula metadata

### Linux

- zypper (92%):

```sh
sudo zypper install python311-cfn-lint
```

  証拠: openSUSE Tumbleweed package metadata: python311-cfn-lint from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:cfn-lint
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/cfn-lint>
- **バージョン:** 1.52.1
- **ソース概要:** Validate CloudFormation templates against the CloudFormation spec
- **ホームページ:** <https://github.com/aws-cloudformation/cfn-lint/>
- **リポジトリ:** <https://github.com/aws-cloudformation/cfn-lint>
- **上流ドキュメント:** <https://github.com/aws-cloudformation/cfn-lint#readme>
- **ライセンス:** MIT-0
- **ソースアーカイブ:** <https://files.pythonhosted.org/packages/ed/67/6e8416db23ac67854c66123dd97d1758d2dd0ff2603653a97d9dd872bed5/cfn_lint-1.52.1.tar.gz>
- **最終更新:** 2026-06-30T21:29:12Z
- **生成日時:** 2026-07-08T18:08:21+00:00

## 実行可能ファイル

- cfn-lint (cli)
- cfn-lint (エイリアス)

## 依存関係

- libyaml
- pydantic
- python@3.14
- rpds-py

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 1.52.1
- マネージャ更新日: 2026-06-30
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/aws-cloudformation/cfn-lint
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

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

### ソース

- <https://api.github.com/repos/aws-cloudformation/cfn-lint>
- <https://github.com/aws-cloudformation/cfn-lint>
- <https://github.com/aws-cloudformation/cfn-lint/>
- <https://github.com/aws-cloudformation/cfn-lint/tree/main/docs/getting_started>
- <https://github.com/aws-cloudformation/cfn-lint#readme>
- <https://formulae.brew.sh/api/formula/cfn-lint.json>
- <https://api.github.com/repos/aws-cloudformation/cfn-lint/releases>
- <https://github.com/aws-cloudformation/cfn-lint#configuration>


## セキュリティノート

infrastructure mutation or orchestration signal.

- **Geiger リスク:** orange / 中
- infrastructure mutation or orchestration signal


## 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

- Unix: .cfnlintrc, .cfnlintrc.yaml, .cfnlintrc.yml, ~/.cfnlintrc
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** cfn-lint
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 他のパッケージマネージャ記録

- zypper - python311-cfn-lint - 1.47.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: python311-cfn-lint from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Tool to checks cloudformation for practices and behaviour | https://github.com/aws-cloudformation/cfn-python-lint
- zypper - python313-cfn-lint - 1.47.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: python313-cfn-lint from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Tool to checks cloudformation for practices and behaviour | https://github.com/aws-cloudformation/cfn-python-lint
- zypper - python314-cfn-lint - 1.47.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: python314-cfn-lint from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Tool to checks cloudformation for practices and behaviour | https://github.com/aws-cloudformation/cfn-python-lint


## 関連リンク

- [Cloud CLI packages](https://www.automicvault.com/ja/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://www.automicvault.com/ja/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/ja/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Developer build packages](https://www.automicvault.com/ja/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [python@3.14](https://www.automicvault.com/ja/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [cfn-lint](https://www.automicvault.com/ja/pkg/npm/cfn-lint/) - Same normalized package name appears in another local ecosystem. Shared terms: cfn, cfn-lint, cloudformation, lint.
- [cfn-flip](https://www.automicvault.com/ja/pkg/brew/cfn-flip/) - Both packages touch the same language runtime or ecosystem. Shared terms: cfn, cloudformation, libyaml, python, python-3-14.
- [cycode](https://www.automicvault.com/ja/pkg/brew/cycode/) - Both packages touch the same language runtime or ecosystem. Shared terms: libyaml, pydantic, python, python-3-14, rpds.
- [cfn-lint](https://www.automicvault.com/ja/pkg/npm/cfn-lint/) - Same normalized package name in another local ecosystem.

## Combined YAML source

View the package source record on GitHub. [combined/cfn-lint.yml](https://github.com/automic-vault/db/blob/main/combined/cfn-lint.yml)


## ソース

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
