# Install cdktn-cli with npm

CDK Terrain CLI. Version 0.23.4 via npm; verified 2026-07-03. Also installable with nix: nix profile install nixpkgs#cdktn-cli.

## Install

```sh
sudo av install npm:cdktn-cli
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g cdktn-cli
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:cdktn-cli
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/cdktn-cli>
- **Version:** 0.23.4
- **Source summary:** CDK Terrain CLI
- **Homepage:** <https://github.com/open-constructs/cdk-terrain#readme>
- **Repository:** <https://github.com/open-constructs/cdk-terrain>
- **Upstream docs:** <https://github.com/open-constructs/cdk-terrain#readme>
- **License:** MPL-2.0
- **Source archive:** <https://registry.npmjs.org/cdktn-cli/-/cdktn-cli-0.23.4.tgz>
- **Issue tracker:** <https://github.com/open-constructs/cdk-terrain/issues>
- **Published:** 2026-07-03T00:41:53.642Z
- **Last updated:** 2026-07-03T00:41:53.642Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- cdktn (cli)
- cdktn (alias)

## Dependencies

- @cdktn/hcl-tools
- @cdktn/hcl2cdk
- @cdktn/hcl2json
- @types/node
- constructs
- punycode
- yargs
- yoga-layout-prebuilt

## Build dependencies

- @cdktn/cli-core
- @cdktn/commons
- @cdktn/provider-generator
- @cdktn/provider-schema
- @inquirer/prompts
- @npmcli/ci-detect
- @sentry/node
- @types/fs-extra
- @types/pidusage
- @types/react
- @types/semver
- @types/yargs
- chalk
- esbuild
- execa
- extract-zip
- fs-extra
- glob
- ink
- ink-select-input
- ink-spinner
- ink-table
- ink-testing-library
- nock
- open
- pidtree
- pidusage
- pkg-up
- react
- semver
- strip-ansi
- tsc-files
- typescript

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 0.23.4
- Package-manager updated: 2026-07-03
- Local data: ok
- Upstream repository: https://github.com/open-constructs/cdk-terrain
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for cdktn-cli. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 0.23.4, Next: 0.24.0-pre.94
- **Version Count:** 107
- **Maintainers:** so0k, cdktn-team, jsteinich
- **Author:** OpenConstructs
- **Publisher:** GitHub Actions
- **Peer Dependencies:** cdktn, jsii, jsii-pacmak
- **Integrity:** sha512-yfIYJmqbiF06tNMAGgE/QvtLaumTTxaasXgIkR62bgkvUe3lL+6Wp4D1IubuJGhTYIWiqnQ37JPEU2PsrOGuQg==
- **Shasum:** dd51c92e239923437f0a443f62d5eab905eadbb1
- **Unpacked Size:** 19,805,332
- **File Count:** 0
- **Created At:** 2025-12-27T12:07:25.621Z
- **Latest Published At:** 2026-07-03T00:41:53.642Z
- **Modified At:** 2026-08-01T18:46:52.743Z

## Other Package-Manager Records

- Nix - cdktn-cli: normalized package name match | nixpkgs package indexes: pkgs/by-name/cd/cdktn-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Related links

- [Cloud CLI packages](https://pkg.so/cloud-clis/) - Matched curated package taxonomy and local package facts.
- [cdktf-cli](https://pkg.so/npm/cdktf-cli/) - Both packages touch the same language runtime or ecosystem. Shared terms: cdk, cdktf, cli, cloud, cloud-infrastructure.
- [cloudform](https://pkg.so/npm/cloudform/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, cloud, cloud-infrastructure, code, infrastructure.
- [aws-cdk](https://pkg.so/brew/aws-cdk/) - Both packages touch the same language runtime or ecosystem. Shared terms: cdk, cli, cloud, cloud-infrastructure, code.

## Sources

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
