Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions docs/cli/licenses.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,32 @@ title: pnpm licenses

### list

Aliases: `ls`

List licenses for installed packages.

## Options

### --dev, -D

Check only "devDependencies".

### --json

Show information in JSON format.

### --long

Show more details (such as a link to the repo) are not displayed. To display the details, pass this option.

### --no-optional

Don't check packages from `optionalDependencies`.

### --prod, -P

Check only `dependencies` and `optionalDependencies`.

### --filter <package_selector\>

[Read more about filtering.](../filtering.md)