Skip to content

Commit a9bb992

Browse files
vcpkg-{create, install, list, remove, search}: add page
Also fix the `vckg` typo in the vcpkg base page description.
1 parent f743c5c commit a9bb992

6 files changed

Lines changed: 69 additions & 1 deletion

File tree

pages/common/vcpkg-create.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# vcpkg create
2+
3+
> Create a new port from a downloadable source archive.
4+
> More information: <https://learn.microsoft.com/vcpkg/commands/create>.
5+
6+
- Create a new port with a specific name from a source archive URL:
7+
8+
`vcpkg create {{port_name}} {{url}}`
9+
10+
- Create a new port using a pre-downloaded source archive:
11+
12+
`vcpkg create {{port_name}} {{url}} {{downloaded_filename}}.zip`

pages/common/vcpkg-install.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# vcpkg install
2+
3+
> Install C and C++ library packages with `vcpkg`.
4+
> More information: <https://learn.microsoft.com/vcpkg/commands/install>.
5+
6+
- Install one or more packages:
7+
8+
`vcpkg install {{package1 package2 ...}}`
9+
10+
- Install a package for a specific triplet:
11+
12+
`vcpkg install {{package}}:{{x64-windows}}`
13+
14+
- Install all packages listed in the `vcpkg.json` manifest:
15+
16+
`vcpkg install`

pages/common/vcpkg-list.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# vcpkg list
2+
3+
> List the libraries installed with `vcpkg`.
4+
> More information: <https://learn.microsoft.com/vcpkg/commands/list>.
5+
6+
- List all installed libraries:
7+
8+
`vcpkg list`
9+
10+
- List installed libraries matching a filter:
11+
12+
`vcpkg list {{pattern}}`

pages/common/vcpkg-remove.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# vcpkg remove
2+
3+
> Uninstall packages installed with `vcpkg`.
4+
> More information: <https://learn.microsoft.com/vcpkg/commands/remove>.
5+
6+
- Remove one or more packages:
7+
8+
`vcpkg remove {{package1 package2 ...}}`
9+
10+
- Remove a package for a specific triplet:
11+
12+
`vcpkg remove {{package}}:{{x64-windows}}`
13+
14+
- Remove all outdated packages:
15+
16+
`vcpkg remove --outdated`

pages/common/vcpkg-search.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# vcpkg search
2+
3+
> Search for packages available to be built with `vcpkg`.
4+
> More information: <https://learn.microsoft.com/vcpkg/commands/search>.
5+
6+
- Search for a package by name or description:
7+
8+
`vcpkg search {{pattern}}`
9+
10+
- List all available packages:
11+
12+
`vcpkg search`

pages/common/vcpkg.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# vcpkg
22

33
> Package manager for C/C++ libraries.
4-
> Note: Packages are not installed in the system. To use them, you need to tell your build system (e.g. CMake) to use `vckg`.
4+
> Note: Packages are not installed in the system. To use them, you need to tell your build system (e.g. CMake) to use `vcpkg`.
55
> More information: <https://learn.microsoft.com/vcpkg/>.
66
77
- Build and add package `libcurl` to the `vcpkg` environment:

0 commit comments

Comments
 (0)