# cloudformation-cli を Homebrew でインストール

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

## インストール

```sh
sudo av install brew:cloudformation-cli
```

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

### macOS

- Homebrew (100%):

```sh
brew install cloudformation-cli
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:cloudformation-cli
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.2.39
- **ソース概要:** CloudFormation Provider Development Toolkit
- **ホームページ:** <https://github.com/aws-cloudformation/cloudformation-cli/>
- **リポジトリ:** <https://github.com/aws-cloudformation/cloudformation-cli>
- **最終更新:** 2026-07-10T13:51:18-07:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

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

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.2.39
## プロジェクトの歴史と使われ方

AWS CloudFormation CLI is the provider development toolkit for authoring, testing, and registering CloudFormation resource providers and modules. It matters less as an everyday deploy CLI and more as the toolchain behind CloudFormation Registry extension development.

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

AWS created the cloudformation-cli repository in 2018 and released early public versions in 2019 as CloudFormation's extension model became public. The official AWS docs position the CLI as the tool used to model, develop, test, and submit resource providers for CloudFormation.

The project sits in the aws-cloudformation GitHub organization alongside language plugins and related extension tooling, reflecting a design where the core CLI coordinates schemas, handlers, contract tests, and registry publication.

### 採用の歴史

Unlike general-purpose AWS CLIs, CloudFormation CLI is adopted mostly by provider authors, platform teams, and vendors that need first-class CloudFormation resource types. Homebrew packaging gives macOS users a simple install path, but the package is inherently narrower than awscli or cdk.

Its adoption is tied to the CloudFormation Registry ecosystem: as organizations add private or third-party resource types, the cfn/cfn-cli package becomes part of build pipelines for extension development and contract testing.

### 使われ方

Developers use cfn init, generate, test, submit, and related commands to create a provider project, run contract tests, and register or update a resource type or module in CloudFormation.

typeConfiguration.json under ~/.cfn-cli is used by the toolkit for type configuration during contract testing and development workflows. AWS credentials normally come from the broader AWS SDK/CLI credential chain rather than a CloudFormation CLI-specific credential file.

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

cloudformation-cli is package-nerd significant because it exposes AWS's extension-development workflow as a Python CLI in Homebrew. It is not a high-volume shell utility, but it is the canonical local tool for a specialized infrastructure-as-code authoring loop.

The formula also illustrates a common cloud-tooling packaging pattern: a narrow vendor CLI with a small user base but high importance for the teams that need reproducible IaC extension builds.

### タイムライン

- 2018: Official cloudformation-cli GitHub repository was created.
- 2019: Early public v0.1.x releases were published as CloudFormation extension tooling emerged.
- 2019: AWS documented the CloudFormation CLI and Registry workflow for provider development.
- 2020s: The CLI continued as the toolkit behind CloudFormation resource provider and module development.

### Related projects

- AWS CloudFormation Registry is the service surface where generated providers and modules are registered.
- Language plugins such as cloudformation-cli-python-plugin and other aws-cloudformation tooling extend the provider-development workflow.
- AWS CDK, SAM, cfn-lint, and CloudFormation Guard are adjacent IaC tools, but they solve different authoring, deployment, validation, or policy problems.

### ソース

- <https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html>
- <https://github.com/aws-cloudformation/cloudformation-cli>


## セキュリティノート

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: ~/.cfn-cli/typeConfiguration.json

## Combined YAML source

View the package source record on GitHub. [combined/cloudformation-cli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cloudformation-cli.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
