Automic VaultAutomic Vault

brew

Install aws-cdk with Homebrew, apt, dnf, Nix, zypper

AWS Cloud Development Kit - framework for defining AWS infra as code. Version 2.1129.0 via Homebrew; verified 2026-07-02.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install aws-cdk

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install libcdk-java

Debian stable package indexes · libcdk-java · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install cdk

Fedora Rawhide package metadata · cdk · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#cdk

nixpkgs package indexes · pkgs/by-name/cd/cdk/package.nix · source: api.github.com

openSUSE zypperverified · 92%
sudo zypper install cdk-devel

openSUSE Tumbleweed package metadata · cdk-devel · source: download.opensuse.org

overview

Package summary

AWS Cloud Development Kit - framework for defining AWS infra as code

Commands and aliases

  • cdk

history

Project history and usage

AWS CDK is Amazon Web Services' open-source framework and CLI for defining cloud infrastructure in general-purpose programming languages and provisioning it through AWS CloudFormation. The Homebrew aws-cdk package installs the cdk command-line toolkit.

Project history

AWS introduced the AWS Cloud Development Kit in developer preview in 2018. The early pitch was infrastructure as code in familiar languages rather than hand-written JSON or YAML templates, with constructs compiling down to CloudFormation.

AWS announced general availability for the CDK's TypeScript and Python support on July 11, 2019. The project then expanded its language and construct ecosystem while keeping CloudFormation as the deployment engine.

AWS CDK v2 became generally available on December 2, 2021 alongside Construct Hub. Version 2 consolidated the AWS Construct Library into aws-cdk-lib, reducing the package sprawl that CDK v1 users had to manage.

Adoption history

CDK was adopted by developers and platform teams who wanted the repeatability of infrastructure as code without giving up loops, functions, types, IDE tooling, and package reuse. AWS documentation describes support for TypeScript, JavaScript, Python, Java, C#/.NET, and Go.

Its package culture grew around constructs: reusable modules that describe cloud resources and higher-level patterns. That ecosystem matters because the cdk CLI is only one piece; real adoption depends on libraries, generated CloudFormation resource definitions, and repeatable synthesis/deploy workflows.

How it is used

Typical usage begins with cdk init, then cdk synth to generate a cloud assembly, cdk diff to compare deployed infrastructure, and cdk deploy to apply changes through CloudFormation. The CLI discovers the app command from cdk.json in the project directory, then falls back to ~/.cdk.json or command-line --app.

Configuration is split across CDK files and AWS shared files. CDK uses cdk.json, ~/.cdk.json, and cdk.context.json for app commands, context, feature flags, and cached lookups; AWS SDK/tooling uses ~/.aws/config and ~/.aws/credentials on Unix-like systems and %USERPROFILE%\.aws\config and %USERPROFILE%\.aws\credentials on Windows.

Why package nerds care

For package nerds, aws-cdk is a Node-distributed cloud compiler dressed as a system CLI. The installed cdk binary coordinates local language runtimes, npm packages, generated constructs, AWS credentials, and CloudFormation APIs, so version skew can matter.

It is also significant because it normalized packaging infrastructure abstractions as libraries. CDK apps are dependency graphs as much as source trees, and the CLI's job is to turn that graph into deterministic cloud assemblies.

Timeline

  • 2018: AWS CDK announced in developer preview.
  • 2019: AWS CDK TypeScript and Python reached general availability.
  • 2021: AWS CDK v2 and Construct Hub reached general availability.
  • 2022: AWS CDK v1 entered maintenance on June 1, 2022.
  • 2023: AWS CDK v1 support ended on June 1, 2023.

Related projects

  • AWS CloudFormation is the provisioning engine targeted by CDK synthesis and deployment.
  • Construct Hub is the package discovery surface for reusable CDK constructs.
  • Projen, CDK8s, and CDK for Terraform are neighboring projects in the construct-based infrastructure tooling family.
  • AWS Amplify Gen 2 uses AWS CDK constructs for custom backend resources.

Sources

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 1 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
cdk.json~/.cdk.jsoncdk.context.json~/.aws/config
Windows
%USERPROFILE%\.aws\config

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.aws/credentials
Windows
%USERPROFILE%\.aws\credentials

executables

Installed executables

CommandKindExposureNote
cdkcliglobal 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 version2.1129.0
manager updated2026-07-02
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/aws/aws-cdk

install metadata

Package metadata

Package keybrew:aws-cdk
Version2.1129.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/aws-cdk
Homepagehttps://github.com/aws/aws-cdk
Repositoryhttps://github.com/aws/aws-cdk
Upstream docshttps://docs.aws.amazon.com/cdk/v2/guide/cli.html
LicenseApache-2.0
Source archivehttps://registry.npmjs.org/aws-cdk/-/aws-cdk-2.1129.0.tgz
Last updated2026-07-02T16:39:42Z
Pulseupdated
Dependenciesnode
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameaws-cdk
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt92%

libcdk-java 1:2.11-1

Chemistry Development Kit (CDK) Java libraries

https://cdk.github.io/

sudo apt install libcdk-java
  • Section: java
  • Architecture: all
  • Source Package: cdk
  • 15 dependencies
  • 2 optional deps
  • installed executable or alias match
  • Matched by: Cdk
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcdk-java from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix92%

cdk

nix profile install nixpkgs#cdk
  • installed executable or alias match
  • Matched by: Cdk
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/cd/cdk/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt92%

libcdk-java 1:2.9-1

Chemistry Development Kit (CDK) Java libraries

https://cdk.github.io/

sudo apt install libcdk-java
  • Section: universe/libs
  • Architecture: all
  • Source Package: cdk
  • 14 dependencies
  • 2 optional deps
  • installed executable or alias match
  • Matched by: Cdk
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcdk-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf92%

cdk 5.0.20260119-2.fc45

Curses Development Kit

https://invisible-island.net/cdk/

sudo dnf install cdk
  • License: X11-distribute-modifications-variant
  • Category: Unspecified
  • Architecture: i686
  • Source Package: cdk
  • 2 dependencies
  • 2 provides
  • installed executable or alias match
  • Matched by: Cdk
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: cdk from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf92%

cdk-devel 5.0.20260119-2.fc45

Development files for cdk

https://invisible-island.net/cdk/

sudo dnf install cdk-devel
  • License: X11-distribute-modifications-variant
  • Category: Unspecified
  • Architecture: i686
  • Source Package: cdk
  • 3 dependencies
  • 1 provides
  • installed executable or alias match
  • Matched by: Cdk
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: cdk-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf92%

cdk-doc 5.0.20260119-2.fc45

Documentation and examples for cdk

https://invisible-island.net/cdk/

sudo dnf install cdk-doc
  • License: X11-distribute-modifications-variant
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: cdk
  • 1 provides
  • installed executable or alias match
  • Matched by: Cdk
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: cdk-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper92%

cdk-devel 5.0.20230201-1.7

Development Part of Curses Development Kit

https://invisible-island.net/cdk/

sudo zypper install cdk-devel
  • License: BSD-3-Clause
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: cdk
  • 3 dependencies
  • 1 provides
  • installed executable or alias match
  • Matched by: Cdk
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: cdk-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

libcdk6_3_4 5.0.20230201-1.7

The Runtime for the Curses Development Kit - Shared library

https://invisible-island.net/cdk/

sudo zypper install libcdk6_3_4
  • License: BSD-3-Clause
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: cdk
  • 5 dependencies
  • 3 provides
  • installed executable or alias match
  • Matched by: Cdk
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libcdk6_3_4 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

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
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment