vcpkg installs and tracks native libraries for C++ projects, integrating with CMake, MSBuild, and other build systems on Windows, macOS, and Linux.
Overview
vcpkg is a package manager for C and C++ code maintained by Microsoft and community contributors. It began as a Visual Studio migration aid and now supports developers on Windows, macOS, and Linux who need reproducible native dependencies.
The tool maintains a large catalog of ported open-source libraries. Teams can declare dependencies in a manifest file or install packages from the command line, then hook the tool into CMake, MSBuild, or other supported build integrations. Internally it orchestrates downloads, builds ports with each upstream’s preferred build system, and records license metadata beside installed artifacts.
Enterprise-oriented options include asset caching for offline or restricted networks and documentation for air-gapped workflows where a connected machine seeds a shared cache. Shell tab completion, maintainer guides, and packaging tutorials help teams contribute missing ports.
Because vcpkg is a local developer utility rather than a network service, it runs entirely on the workstation or build agent where native code is compiled.
Key features
- Manifest-based dependency pinning
- CMake toolchain integration
- MSBuild integration support
- Large community port catalog
- Custom port contributions
- Asset cache for offline installs
- Shell tab completion
- Per-port license metadata files
Use cases
- Managing C++ third-party libraries
- Cross-platform native app builds
- Reproducible CI dependency trees
- Visual Studio C++ dependency sync
- Air-gapped build artifact caching