# cdktf を Homebrew でインストール

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

## インストール

```sh
sudo av install brew:cdktf
```

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

### macOS

- Homebrew (100%):

```sh
brew install cdktf
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:cdktf
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/cdktf>
- **バージョン:** 0.21.0
- **ソース概要:** Cloud Development Kit for Terraform
- **ホームページ:** <https://github.com/hashicorp/terraform-cdk>
- **リポジトリ:** <https://github.com/hashicorp/terraform-cdk>
- **ライセンス:** MPL-2.0
- **ソースアーカイブ:** <https://registry.npmjs.org/cdktf-cli/-/cdktf-cli-0.21.0.tgz>
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

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

## 依存関係

- node

## インストール挙動

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

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.21.0
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/hashicorp/terraform-cdk
- 情報: No package-manager update timestamp was available.
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

CDK for Terraform, commonly packaged as cdktf, lets users define Terraform infrastructure with familiar programming languages and then synthesize Terraform configuration.

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

HashiCorp introduced CDK for Terraform as an experimental bridge between Terraform and the construct-based CDK programming model. The official docs now present it as a Terraform workflow with its own CLI, project configuration file, generated provider bindings, and language support.

The official repository is hashicorp/terraform-cdk, while the packaged CLI command is cdktf. The 2026 Homebrew formula packages cdktf 0.21.0.

### 採用の歴史

CDKTF appealed to Terraform users who wanted loops, classes, libraries, testing patterns, and IDE type support from languages such as TypeScript, Python, Java, C#, and Go, while still targeting Terraform providers and state-oriented workflows.

Its adoption is clearest in the Terraform ecosystem rather than as a replacement for Terraform language itself: teams use it when generated bindings and programming-language abstractions justify the additional build step.

### 使われ方

A CDKTF project uses cdktf.json to declare the language, app command, providers, modules, and CLI behavior. Developers run commands such as cdktf get, synth, diff, and deploy around generated Terraform artifacts.

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

CDKTF is a package-manager crossroads: a Homebrew CLI formula wraps a Node-distributed tool that generates bindings for Terraform providers, so versioning touches npm packaging, Terraform provider constraints, generated code, and HashiCorp's Terraform release cadence.

### タイムライン

- 2020: HashiCorp announces CDK for Terraform 0.1.
- 2020s: CDKTF grows language guides, provider/module generation, and a dedicated Terraform docs section.
- 2026: Homebrew formula packages cdktf 0.21.0.

### Related projects

- CDKTF is related to Terraform CLI, Terraform providers and modules, AWS CDK, constructs, and cdk8s through the shared CDK/construct programming model.

### ソース

- <https://api.github.com/repos/hashicorp/terraform-cdk>
- <https://github.com/hashicorp/terraform-cdk>
- <https://developer.hashicorp.com/terraform/cdktf>
- <https://developer.hashicorp.com/terraform/cdktf/create-and-deploy/configuration-file>
- <https://formulae.brew.sh/api/formula/cdktf.json>


## セキュリティノート

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: ./cdktf.json
## ソースデータベース詳細

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


## 関連リンク

- [Cloud CLI packages](https://pkg.so/ja/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [node](https://pkg.so/ja/brew/node/) - Runtime dependency declared by Homebrew.
- [terraformer](https://pkg.so/ja/brew/terraformer/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, infrastructure-as-code, terraform.
- [terraform-local](https://pkg.so/ja/brew/terraform-local/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, infrastructure-as-code, terraform.
- [cf-terraforming](https://pkg.so/ja/brew/cf-terraforming/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, infrastructure-as-code, terraform.
- [cf2tf](https://pkg.so/ja/brew/cf2tf/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, infrastructure-as-code, terraform.
- [sceptre](https://pkg.so/ja/brew/sceptre/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, infrastructure-as-code, python.
- [pug](https://pkg.so/ja/brew/pug/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, infrastructure-as-code, terraform.
- [terracognita](https://pkg.so/ja/brew/terracognita/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, infrastructure-as-code, terraform.
- [terraform-graph-beautifier](https://pkg.so/ja/brew/terraform-graph-beautifier/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, infrastructure-as-code, terraform.
- [cdktf-cli](https://pkg.so/ja/npm/cdktf-cli/) - Executable or command metadata overlaps with this package. Shared terms: cdktf, cli, cloud, cloud-infrastructure, infrastructure.
- [aws-cdk](https://pkg.so/ja/brew/aws-cdk/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, cloud, cloud-infrastructure, code, development.

## Combined YAML source

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


## ソース

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