macOS
brew install cdktflocal Homebrew formula metadata
brew
Cloud Development Kit for Terraform. Version 0.21.0 via Homebrew; verified from local package data.
install
brew install cdktflocal Homebrew formula metadata
overview
Cloud Development Kit for Terraform
history
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.
security posture
infrastructure mutation or orchestration signal.
orange risk · medium confidence · infrastructure
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
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.
Config paths the tool may read or write during local use.
./cdktf.jsonexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
cdktf | cli | global executable |
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.
https://github.com/hashicorp/terraform-cdk
install metadata
| Package key | brew:cdktf |
|---|---|
| Version | 0.21.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/cdktf |
| Homepage | https://github.com/hashicorp/terraform-cdk |
| Repository | https://github.com/hashicorp/terraform-cdk |
| Upstream docs | https://developer.hashicorp.com/terraform/cdktf |
| License | MPL-2.0 |
| Source archive | https://registry.npmjs.org/cdktf-cli/-/cdktf-cli-0.21.0.tgz |
| Dependencies | node |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.