Skip to content

Commit eaf1176

Browse files
committed
Document vcpkg license-report.
For microsoft/vcpkg-tool#1514
1 parent 6600216 commit eaf1176

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

vcpkg/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,8 @@
219219
href: commands/install.md
220220
- name: vcpkg integrate
221221
href: commands/integrate.md
222+
- name: vcpkg license-report
223+
href: commands/license-report.md
222224
- name: vcpkg list
223225
href: commands/list.md
224226
- name: vcpkg new

vcpkg/commands/license-report.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
title: vcpkg license-report
3+
description: Reference for the vcpkg license-report command. Prints licenses of all installed packages.
4+
author: BillyONeal
5+
ms.author: bion
6+
ms.date: 06/04/2025
7+
---
8+
# vcpkg license-report
9+
10+
## Synopsis
11+
12+
```console
13+
vcpkg license-report
14+
```
15+
16+
## Description
17+
18+
The `vcpkg license-report` command prints the licenses of all installed packages.
19+
20+
### Examples
21+
22+
```console
23+
> vcpkg install zlib
24+
[...]
25+
> vcpkg license-report
26+
Installed contents are licensed to you by owners. Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
27+
Installed packages declare the following licenses:
28+
MIT
29+
Zlib
30+
```
31+
32+
## Options
33+
34+
All vcpkg commands support a set of [common options](common-options.md).

0 commit comments

Comments
 (0)