# 使用 npm 安装 cfn-lint

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

## 安装

```sh
sudo av install npm:cfn-lint
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g cfn-lint
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:cfn-lint
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/cfn-lint>
- **版本:** 1.9.7
- **来源摘要:** A more friendly CloudFormation JSON and YAML Validator
- **主页:** <https://github.com/martysweet/cfn-lint#readme>
- **仓库:** <https://github.com/martysweet/cfn-lint>
- **上游文档:** <https://github.com/martysweet/cfn-lint#readme>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/cfn-lint/-/cfn-lint-1.9.7.tgz>
- **问题跟踪器:** <https://github.com/martysweet/cfn-lint/issues>
- **发布时间:** 2019-04-03T15:34:31.614Z
- **最后更新:** 2019-04-03T15:34:31.614Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- cfn-lint (cli)

## 依赖

- array-intersection
- clone
- colors
- commander
- core-js
- js-yaml
- merge-options
- opn
- safe-buffer
- sha.js
- source-map-support
- winston

## 构建依赖

- @types/chai
- @types/clone
- @types/colors
- @types/commander
- @types/js-yaml
- @types/mocha
- @types/node
- @types/opn
- @types/source-map-support
- @types/winston
- chai
- dependency-check
- mocha
- proxyquire-2
- typescript

## 安装行为

- post-install 钩子: 未定义
- npm 生命周期脚本: prepublish
- Bottle: 不可用

## 版本和新鲜度

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

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 1.9.7
- **Version Count:** 44
- **Maintainers:** martysweet
- **Author:** Marty Sweet
- **Publisher:** martysweet
- **Integrity:** sha512-csNT1INmnUTLZX+z5PpZwgNkRm47EcOmaqWgIgcdfNpI4RAYOJMqaxfbpW0AiXG+P4aopkShX+tbwEt9apd+9Q==
- **Shasum:** c2449f2319184bfaa1de0a7d71d2096e565a06d2
- **Unpacked Size:** 3,796,747
- **File Count:** 0
- **Created At:** 2017-03-04T20:24:32.525Z
- **Latest Published At:** 2019-04-03T15:34:31.614Z
- **Modified At:** 2022-06-13T05:50:07.502Z

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

- zypper - python311-cfn-lint - 1.47.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: python311-cfn-lint from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Tool to checks cloudformation for practices and behaviour | https://github.com/aws-cloudformation/cfn-python-lint
- zypper - python313-cfn-lint - 1.47.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: python313-cfn-lint from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Tool to checks cloudformation for practices and behaviour | https://github.com/aws-cloudformation/cfn-python-lint
- zypper - python314-cfn-lint - 1.47.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: python314-cfn-lint from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Tool to checks cloudformation for practices and behaviour | https://github.com/aws-cloudformation/cfn-python-lint


## 相关链接

- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [cfn-lint](https://www.automicvault.com/zh-hans/pkg/brew/cfn-lint/) - Same normalized package name appears in another local ecosystem. Shared terms: cfn, cfn-lint, cloudformation, lint.
- [cfn-flip](https://www.automicvault.com/zh-hans/pkg/brew/cfn-flip/) - Both packages work with overlapping file formats or content types. Shared terms: aws, cfn, cloudformation, json, yaml.
- [amplify-graphql-types-generator](https://www.automicvault.com/zh-hans/pkg/npm/amplify-graphql-types-generator/) - Local package facts share a topical domain. Shared terms: aws, core, core-js, map, source.
- [cfn-lint](https://www.automicvault.com/zh-hans/pkg/brew/cfn-lint/) - Same normalized package name exists in another local package ecosystem.

## 来源

- Nucleus package database
- package-page enrichment
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
