共用方式為


vcpkg update

概要

vcpkg update [options]

描述

比較一組 傳統模式 安裝的套件與目前可用的版本。

若要移除過時的版本而不安裝取代專案,請使用 vcpkg remove --outdated。 若要移除並安裝較新版本,請使用 vcpkg upgrade

範例

$ vcpkg update
Using local portfile versions. To update the local portfiles, use `git pull`.
The following packages differ from their port versions:
        corrade:x64-windows              2020.06#4 -> 2020.06#5
        magnum:x64-windows               2020.06#11 -> 2020.06#12
        openal-soft:x64-windows          1.22.2#5 -> 1.23.0
        ragel:x64-windows                6.10#4 -> 6.10#5
        sdl2:x64-windows                 2.26.3#1 -> 2.26.4
To update these packages and all dependencies, run
.\vcpkg upgrade'
To only remove outdated packages, run
.\vcpkg remove --outdated

選項。

所有 vcpkg 命令都支援一組 常見的選項