# Install webpack-cli with npm

CLI for webpack & friends. Version 7.0.3 via npm; verified 2026-07-04.

## Install

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

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g webpack-cli
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:webpack-cli
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/webpack-cli>
- **Version:** 7.0.3
- **Source summary:** CLI for webpack & friends
- **Homepage:** <https://github.com/webpack/webpack-cli/tree/main/packages/webpack-cli>
- **Repository:** <https://github.com/webpack/webpack-cli>
- **Upstream docs:** <https://github.com/webpack/webpack-cli/tree/main/packages/webpack-cli>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/webpack-cli/-/webpack-cli-7.0.3.tgz>
- **Issue tracker:** <https://github.com/webpack/webpack-cli/issues>
- **Published:** 2026-05-27T16:36:37.973Z
- **Last updated:** 2026-07-04T19:59:03.678Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- webpack-cli (cli)

## Dependencies

- @discoveryjs/json-ext
- commander
- cross-spawn
- envinfo
- import-local
- interpret
- rechoir
- webpack-merge

## Build dependencies

- @types/envinfo

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 7.0.3
- Package-manager updated: 2026-07-04
- Local data: ok
- Upstream repository: https://github.com/webpack/webpack-cli
- info: No cached GitHub release or tag data was available.

## Security Notes

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


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** 4.0.0.0 Alpha 5: 4.0.0-alpha-5, Beta: 4.0.0-beta.9, Latest: 7.0.3, Next: 4.0.0-rc.1
- **Version Count:** 129
- **Maintainers:** evilebottnawi, 15000621931, ev1stensberg, __hai, sokra, avivkeller
- **Publisher:** GitHub Actions
- **Engines:** Node: >=20.9.0
- **Peer Dependencies:** webpack, webpack-bundle-analyzer, webpack-dev-server
- **Funding:** <https://opencollective.com/webpack>
- **Integrity:** sha512-2E2C6A1e2El7791zQgTH7LPIuwLjRliow9OHS/qlJc9pwhZlCoL/uiwqd/1WSlXT83wJfmfDbkcqHXuXoPJZ3g==
- **Shasum:** 62d3374b424bb4fabb27d088d8b2a9685b325b02
- **Unpacked Size:** 123,076
- **File Count:** 0
- **Created At:** 2015-05-30T16:03:23.836Z
- **Latest Published At:** 2026-05-27T16:36:37.973Z
- **Modified At:** 2026-05-27T16:36:38.328Z

## Other Package-Manager Records

- Nix - webpack-cli: normalized package name match | nixpkgs package indexes: pkgs/by-name/we/webpack-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Related links

- [Cloud CLI packages](https://www.automicvault.com/pkg/cloud-clis/) - Matched curated package taxonomy and local package facts.
- [webpack-bundle-analyzer](https://www.automicvault.com/pkg/npm/webpack-bundle-analyzer/) - Both packages work with overlapping file formats or content types. Shared terms: commander, discoveryjs, ext, json, json-ext.
- [webpack-dashboard](https://www.automicvault.com/pkg/npm/webpack-dashboard/) - Package names and metadata indicate a similar tool family. Shared terms: commander, cross, cross-spawn, spawn, webpack.
- [webpack-serve](https://www.automicvault.com/pkg/npm/webpack-serve/) - Package names and metadata indicate a similar tool family. Shared terms: import, import-local, local, rechoir, webpack.

## Sources

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