# 使用 npm 安装 cdktf-cli

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

## 安装

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

其他安装命令:

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

- npm (100%):

```sh
npm install -g cdktf-cli
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:cdktf-cli
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/cdktf-cli>
- **版本:** 0.21.0
- **来源摘要:** CDK for Terraform CLI
- **主页:** <https://github.com/hashicorp/terraform-cdk#readme>
- **仓库:** <https://github.com/hashicorp/terraform-cdk>
- **上游文档:** <https://github.com/hashicorp/terraform-cdk#readme>
- **许可证:** MPL-2.0
- **源码归档:** <https://registry.npmjs.org/cdktf-cli/-/cdktf-cli-0.21.0.tgz>
- **问题跟踪器:** <https://github.com/hashicorp/terraform-cdk/issues>
- **发布时间:** 2025-06-04T16:46:10.094Z
- **最后更新:** 2025-06-04T16:46:10.094Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- cdktf (cli)

## 依赖

- @cdktf/cli-core
- @cdktf/commons
- @cdktf/hcl-tools
- @cdktf/hcl2cdk
- @cdktf/hcl2json
- @inquirer/prompts
- @sentry/node
- cdktf
- ci-info
- codemaker
- constructs
- cross-spawn
- https-proxy-agent
- ink-select-input
- ink-table
- jsii
- jsii-pacmak
- jsii-rosetta
- minimatch
- node-fetch
- pidtree
- pidusage
- tunnel-agent
- xml-js
- yargs
- yoga-layout-prebuilt
- zod

## 构建依赖

- @cdktf/provider-generator
- @eslint/compat
- @eslint/eslintrc
- @eslint/js
- @skorfmann/ink-confirm-input
- @skorfmann/terraform-cloud
- @types/archiver
- @types/cli-table
- @types/cross-spawn
- @types/detect-port
- @types/fs-extra
- @types/ink-spinner
- @types/jest
- @types/json-schema
- @types/lodash.isequal
- @types/nock
- @types/node
- @types/parse-gitignore
- @types/pidusage
- @types/react
- @types/semver
- @types/stream-buffers
- @types/uuid
- @types/yargs
- chalk
- chokidar
- cli-spinners
- cross-fetch
- detect-port
- esbuild
- esbuild-jest
- eslint
- eslint-config-prettier
- eslint-plugin-prettier
- eslint-plugin-react
- eslint-plugin-react-hooks
- execa
- extract-zip
- fs-extra
- indent-string
- ink
- ink-spinner
- ink-testing-library
- ink-use-stdout-dimensions
- jest
- lodash.isequal
- log4js
- nock
- open
- parse-gitignore
- pkg-up
- react
- semver
- sscaff
- stream-buffers
- strip-ansi
- ts-jest
- tsc-files
- typescript
- typescript-eslint
- utility-types
- uuid

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 0.21.0
- 管理器更新时间: 2025-06-04
- 本地数据: OK
- 上游仓库: https://github.com/hashicorp/terraform-cdk
- 警告: The package-manager record has not been updated in over a year.
- 信息: No cached GitHub release or tag data was available.

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 0.21.0, Next: 0.21.0-pre.170
- **Version Count:** 1,004
- **Maintainers:** cdktf-team
- **Author:** HashiCorp
- **Publisher:** cdktf-team
- **Integrity:** sha512-hQqNRw6Qs7QvJ4Yet/J1ZjBujCf6nsFqTjUDHfjgjGUg7tD7SeomqqGcAd8Y3yDOso4qr/BZ1/nTBc6MOgX0Uw==
- **Shasum:** 0ce57045fd52818f5579166f76ff743744ebaa86
- **Unpacked Size:** 19,645,719
- **File Count:** 0
- **Created At:** 2020-05-09T01:03:35.114Z
- **Latest Published At:** 2025-06-04T16:46:10.094Z
- **Modified At:** 2025-06-04T16:46:10.307Z


## 相关链接

- [Cloud CLI packages](https://www.automicvault.com/zh-hans/pkg/cloud-clis/) - Matched curated package taxonomy and local package facts.
- [cdktf](https://www.automicvault.com/zh-hans/pkg/brew/cdktf/) - Executable or command metadata overlaps with this package. Shared terms: cdktf, cli, cloud, cloud-infrastructure, infrastructure.
- [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, codemaker.
- [cdktn-cli](https://www.automicvault.com/zh-hans/pkg/npm/cdktn-cli/) - Both packages touch the same language runtime or ecosystem. Shared terms: cdk, cdktf, cli, cloud, cloud-infrastructure.

## 来源

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