# Install generate-license-file with npm

Generates a text file containing all of the licenses for your production dependencies. Version 4.2.1 via npm; verified 2026-05-21.

## Install

```sh
sudo av install npm:generate-license-file
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g generate-license-file
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:generate-license-file
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/generate-license-file>
- **Version:** 4.2.1
- **Source summary:** Generates a text file containing all of the licenses for your production dependencies
- **Homepage:** <https://generate-license-file.js.org>
- **Repository:** <https://github.com/TobyAndToby/generate-license-file>
- **Upstream docs:** <https://generate-license-file.js.org>
- **License:** ISC
- **Source archive:** <https://registry.npmjs.org/generate-license-file/-/generate-license-file-4.2.1.tgz>
- **Issue tracker:** <https://github.com/TobyAndToby/generate-license-file/issues>
- **Published:** 2026-05-21T23:36:16.450Z
- **Last updated:** 2026-05-21T23:36:16.450Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- generate-license-file (cli)
- generate-license-file (alias)

## Dependencies

- @commander-js/extra-typings
- @npmcli/arborist
- cli-spinners
- commander
- cosmiconfig
- enquirer
- glob
- json5
- ora
- tslib
- zod

## Install behavior

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

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 4.2.1
- Package-manager updated: 2026-05-21
- Local data: ok
- Upstream repository: https://github.com/TobyAndToby/generate-license-file
- info: No cached GitHub release or tag data was available.

## Security Notes

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


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 4.2.1, Latest 3 Beta: 3.0.0-beta.4
- **Version Count:** 26
- **Maintainers:** tobybessant, tobysmith568
- **Publisher:** GitHub Actions
- **Integrity:** sha512-0As00it8cbFYxp8W5vFqGgyEDgsNFoTMycoIMChmPqmw9ablhWHdO78KzjkedUnszWpLdTspby+tEV4WI0KscA==
- **Shasum:** ac603703625d900631032c81d1f85dc2ab89017f
- **Unpacked Size:** 142,611
- **File Count:** 0
- **Created At:** 2020-04-08T12:18:12.773Z
- **Latest Published At:** 2026-05-21T23:36:16.450Z
- **Modified At:** 2026-05-21T23:36:16.778Z


## Related links

- [Text processing packages](https://pkg.so/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [generate-robotstxt](https://pkg.so/npm/generate-robotstxt/) - Package names and metadata indicate a similar tool family. Shared terms: cli, cosmiconfig, developer, developer-tools, extra.
- [zod2md](https://pkg.so/npm/zod2md/) - Local package facts share a topical domain. Shared terms: cli, commander, commander-js, developer, developer-tools.
- [dpdm](https://pkg.so/npm/dpdm/) - Local package facts share a topical domain. Shared terms: cli, dependencies, developer, developer-tools, extra.

## Sources

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