# 安装 dependency-cruiser

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

## 安装

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

其他安装命令:

### Portable and language managers

- npm (100%):

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

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:dependency-cruiser
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/dependency-cruiser>
- **版本:** 17.4.2
- **来源摘要:** 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-17.4.2.tgz>
- **问题跟踪器:** <https://github.com/sverweij/dependency-cruiser/issues>
- **发布时间:** 2026-05-23T20:31:54.302Z
- **更新:** 2026-05-23T20:31:54.302Z
- **生成来源:** 2026-05-26T17:25:59+00:00

## 可执行文件

- depcruise (cli): bin/dependency-cruise.mjs
- depcruise-baseline (cli): bin/depcruise-baseline.mjs
- depcruise-fmt (cli): bin/depcruise-fmt.mjs
- depcruise-wrap-stream-in-html (cli): bin/wrap-stream-in-html.mjs
- dependency-cruise (cli): bin/dependency-cruise.mjs
- dependency-cruiser (cli): bin/dependency-cruise.mjs
- 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
- @eslint/eslintrc
- @eslint/js
- @swc/core
- @types/node
- @types/prompts
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
- @vue/compiler-sfc
- ajv
- c8
- clean-pkg-json
- coffeescript
- esbuild
- eslint
- eslint-config-moving-meadow
- eslint-config-prettier
- eslint-plugin-budapestian
- eslint-plugin-eslint-comments
- eslint-plugin-import
- eslint-plugin-mocha
- eslint-plugin-n
- eslint-plugin-security
- eslint-plugin-unicorn
- globals
- husky
- lint-staged
- mocha
- normalize-newline
- npm-run-all2
- prettier
- proxyquire
- svelte
- svgo
- symlink-dir
- typescript
- upem
- vue-template-compiler
- yarn

## 安装行为

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

## 新鲜度

- 页面生成时间: 2026-05-26
- 管理器版本: 17.4.2
- 管理器更新时间: 2026-05-23
- 本地数据: ok
- 上游仓库: https://github.com/sverweij/dependency-cruiser
- info: No cached GitHub release or tag data was available.

## 安全说明

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


## 相关链接

- [father](https://www.automicvault.com/pkg/npm/father/) - Local package facts share a topical domain. Shared terms: enhanced, enhanced-resolve, paths, resolve, tsconfig.
- [checkly](https://www.automicvault.com/pkg/npm/checkly/) - Local package facts share a topical domain. Shared terms: acorn, acorn-walk, json5, stream, typescript.
- [@openrewrite/rewrite](https://www.automicvault.com/pkg/npm/openrewrite-rewrite/) - Both packages touch the same language runtime or ecosystem. Shared terms: commander, javascript, picomatch, semver, typescript.
- [Web development packages](https://www.automicvault.com/pkg/web-dev-tools/)

## 来源

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