# 使用 npm 安装 dependency-cruiser

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

## 安装

```sh
sudo av install npm:dependency-cruiser
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g dependency-cruiser
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:dependency-cruiser
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/dependency-cruiser>
- **版本:** 18.1.1
- **来源摘要:** Validate and visualize dependencies. With your rules. JavaScript, TypeScript, CoffeeScript. ES6, CommonJS, AMD.
- **主页:** <https://github.com/sverweij/dependency-cruiser>
- **仓库:** <https://github.com/sverweij/dependency-cruiser>
- **上游文档:** <https://github.com/sverweij/dependency-cruiser>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/dependency-cruiser/-/dependency-cruiser-18.1.1.tgz>
- **问题跟踪器:** <https://github.com/sverweij/dependency-cruiser/issues>
- **发布时间:** 2026-08-02T20:05:42.184Z
- **最后更新:** 2026-08-02T20:05:42.184Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- depcruise (cli)
- depcruise-baseline (cli)
- depcruise-fmt (cli)
- depcruise-wrap-stream-in-html (cli)
- dependency-cruise (cli)
- dependency-cruiser (cli)
- dependency-cruiser (别名)

## 依赖

- acorn
- acorn-jsx
- acorn-jsx-walk
- acorn-loose
- acorn-walk
- commander
- enhanced-resolve
- ignore
- interpret
- is-installed-globally
- json5
- picomatch
- prompts
- rechoir
- safe-regex
- semver
- tsconfig-paths-webpack-plugin
- watskeburt

## 构建依赖

- @babel/core
- @babel/plugin-transform-modules-commonjs
- @babel/preset-typescript
- @swc/core
- @types/node
- @types/prompts
- @vue/compiler-sfc
- ajv
- c8
- clean-pkg-json
- coffeescript
- esbuild
- husky
- lint-staged
- mocha
- normalize-newline
- npm-run-all2
- oxlint
- prettier
- proxyquire
- svelte
- svgo
- symlink-dir
- typescript
- upem
- vue-template-compiler
- yarn

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 18.1.1
- 管理器更新时间: 2026-08-02
- 本地数据: OK
- 上游仓库: https://github.com/sverweij/dependency-cruiser
- 信息: No cached GitHub release or tag data was available.

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Beta: 18.0.0-beta-2, Latest: 18.1.1, Version 10: 10.9.0
- **Version Count:** 582
- **Maintainers:** sverweij, foureightone
- **Author:** Sander Verweij
- **Publisher:** GitHub Actions
- **Engines:** Node: ^22||^24||>=26
- **Integrity:** sha512-qK29b8kBW60KI1Qvf2w93823AE55lJuXV21iUw9tAMiZudgA95mR2j/EzqsploqS8d8uavTzn1IVoKDSilLD4g==
- **Shasum:** 4bcfea3ef679ba8e996ba585336780ceb476d6c8
- **Unpacked Size:** 1,006,605
- **File Count:** 0
- **Created At:** 2016-11-20T20:23:09.596Z
- **Latest Published At:** 2026-08-02T20:05:42.184Z
- **Modified At:** 2026-08-02T20:05:42.437Z


## 相关链接

- [Web development packages](https://pkg.so/zh-hans/web-dev-tools/) - Matched curated package taxonomy and local package facts.
- [dependency-tree](https://pkg.so/zh-hans/npm/dependency-tree/) - Package names and metadata indicate a similar tool family. Shared terms: amd, analysis, cli, commander, commonjs.
- [filing-cabinet](https://pkg.so/zh-hans/npm/filing-cabinet/) - Local package facts share a topical domain. Shared terms: amd, analysis, cli, commander, commonjs.
- [skott](https://pkg.so/zh-hans/npm/skott/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, commander, dependencies, developer, developer-tools.

## 来源

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