vcpkg list dependencies from the manifest (vcpkg.json), not global dependencies.

Last update: 03 January, 2026

I installed vcpkg at /c/src/vcpkg/vcpkg.exe, change the command accordingly.

$ /c/src/vcpkg/vcpkg.exe list \
    --x-wait-for-lock \
    --triplet "x64-windows" \
    --vcpkg-root=/c/src/vcpkg \
    --x-manifest-root='.\MyProject\' \
    --x-install-root='.\MyProject\vcpkg_installed\x64-windows\'

or save yourself some time from typing by going first to the folder where vcpkg.json lives:

$ cd .\MyProject\
$ /c/src/vcpkg/vcpkg.exe list \
    --x-wait-for-lock \
    --triplet "x64-windows" \
    --x-install-root='.\vcpkg_installed\x64-windows\'

Other things to read

Popular

Previous/Next