Automic VaultAutomic Vault

brew

Install cdktf with Homebrew

Cloud Development Kit for Terraform. Version 0.21.0 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install cdktf

local Homebrew formula metadata

overview

Package summary

Cloud Development Kit for Terraform

Commands and aliases

  • cdktf

history

Project history and usage

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

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

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 post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.

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
./cdktf.json

executables

Installed executables

CommandKindExposureNote
cdktfcliglobal executable

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-07-08
manager version0.21.0
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/hashicorp/terraform-cdk

install metadata

Package metadata

Package keybrew:cdktf
Version0.21.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/cdktf
Homepagehttps://github.com/hashicorp/terraform-cdk
Repositoryhttps://github.com/hashicorp/terraform-cdk
Upstream docshttps://developer.hashicorp.com/terraform/cdktf
LicenseMPL-2.0
Source archivehttps://registry.npmjs.org/cdktf-cli/-/cdktf-cli-0.21.0.tgz
Dependenciesnode
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecdktf
Version Scheme0
Revision1
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedyes
Disabledno
Keg Onlyno
URL Keys
  • stable

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
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment