# Install dependency-cruiser with npm

Validate and visualize dependencies. With your rules. JavaScript, TypeScript, CoffeeScript. ES6, CommonJS, AMD. Version 18.1.1 via npm; verified 2026-08-02.

## Install

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

Additional install commands:

### Portable and language managers

- npm (100%):

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

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:dependency-cruiser
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/dependency-cruiser>
- **Version:** 18.1.1
- **Source summary:** Validate and visualize dependencies. With your rules. JavaScript, TypeScript, CoffeeScript. ES6, CommonJS, AMD.
- **Homepage:** <https://github.com/sverweij/dependency-cruiser>
- **Repository:** <https://github.com/sverweij/dependency-cruiser>
- **Upstream docs:** <https://github.com/sverweij/dependency-cruiser>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/dependency-cruiser/-/dependency-cruiser-18.1.1.tgz>
- **Issue tracker:** <https://github.com/sverweij/dependency-cruiser/issues>
- **Published:** 2026-08-02T20:05:42.184Z
- **Last updated:** 2026-08-02T20:05:42.184Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

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

## Dependencies

- 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

## Build dependencies

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

## Install behavior

- Post-install hook: not defined
- Lifecycle scripts: prepare
- Bottle: not available

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 18.1.1
- Package-manager updated: 2026-08-02
- Local data: ok
- Upstream repository: https://github.com/sverweij/dependency-cruiser
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for dependency-cruiser. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **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


## Related links

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

## Sources

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