# 使用 npm 安装 cdktn-cli

查看 cdktn-cli 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

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

其他安装命令:

### 便携式和语言管理器

- npm (100%):

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

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:cdktn-cli
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/cdktn-cli>
- **版本:** 0.23.3
- **来源摘要:** CDK Terrain CLI
- **主页:** <https://github.com/open-constructs/cdk-terrain#readme>
- **仓库:** <https://github.com/open-constructs/cdk-terrain>
- **上游文档:** <https://github.com/open-constructs/cdk-terrain#readme>
- **许可证:** MPL-2.0
- **源码归档:** <https://registry.npmjs.org/cdktn-cli/-/cdktn-cli-0.23.3.tgz>
- **问题跟踪器:** <https://github.com/open-constructs/cdk-terrain/issues>
- **发布时间:** 2026-06-05T08:53:03.878Z
- **最后更新:** 2026-06-05T08:53:03.878Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- cdktn (cli)
- cdktn (别名)

## 依赖

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

## 构建依赖

- @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/uuid
- @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
- uuid

## 安装行为

- post-install 钩子: 未定义
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 0.23.3
- 管理器更新时间: 2026-06-05
- 本地数据: OK
- 上游仓库: https://github.com/open-constructs/cdk-terrain
- 信息: No cached GitHub release or tag data was available.

## 安全说明

没有找到 cdktn-cli 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 0.23.3, Next: 0.24.0-pre.57
- **Version Count:** 74
- **Maintainers:** so0k, cdktn-team, jsteinich
- **Author:** OpenConstructs
- **Publisher:** GitHub Actions
- **Peer Dependencies:** cdktn, jsii, jsii-pacmak
- **Integrity:** sha512-uaFPKcfRSk4jc+GmL6pKngkt44hoWep7ha4MRyvSE3ra30iE11MM0RIR8r6IQvU8EVeQPtGYGkxg7l1E7BCTpQ==
- **Shasum:** 2ec4f0f7db2bd60291f2630832aca06f507b5953
- **Unpacked Size:** 19,974,483
- **File Count:** 0
- **Created At:** 2025-12-27T12:07:25.621Z
- **Latest Published At:** 2026-06-05T08:53:03.878Z
- **Modified At:** 2026-06-14T10:30:51.184Z

## 其他软件包管理器记录

- 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


## 相关链接

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

## 来源

- Nucleus package database
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
