What vcpkg is
vcpkg is a free, open-source package manager for acquiring and managing C/C++ libraries. Its curated registry contains over 2,300 open-source libraries, with support for Windows, macOS, Linux, Android, and iOS. Manifest files let projects specify dependencies, optional features, and version constraints; baseline sets and individual version pins support reproducible dependency resolution. vcpkg integrates with CMake and MSBuild, and manual integration is available for other build systems. Built packages can be cached for reuse across developer machines and continuous integration runs. Asset caching can support offline or air-gapped work by mirroring source assets and build tools. Users can create custom registries for private libraries, patches, or other packages. Documented editor integrations include Visual Studio, Visual Studio Code, CLion, and Qt Creator. vcpkg collects anonymous usage data, with opt-out options through bootstrap, a command-line option, or an environment variable. Firewall access requirements vary according to which ports are installed.
Who it suits
vcpkg suits C and C++ developers managing library dependencies across the listed desktop and mobile platforms. It is also relevant to teams that need package caching, custom registries, or offline workflows.
Good to know, and what to watch
- Free and open source.
- Supports five operating system platforms.
- Integrates with CMake and MSBuild.
- Caching supports reuse and offline environments.
- Firewall access needs vary by installed ports.
- Anonymous usage data is collected unless users opt out.
Plans
Every plan and priceFree
Free plan
The verdict
vcpkg offers dependency declarations, version controls, and caching for C/C++ library workflows across several platforms. Developers should account for port-specific firewall needs and review the available telemetry opt-out methods.
What the maker publishes
- Binary caching
- Built packages can be cached and reused across developer machines and continuous integration runs. source
- Build systems
- vcpkg integrates with CMake and MSBuild and also supports manual integration with other build systems. source
- Custom registries
- Users can create registries for custom packages, patches, or private libraries. source
- Dependency management
- Manifest files let projects declare dependencies, optional features, and version constraints. source
- Dependency resolution
- Yes source
- Editors
- The project documents integrations for Visual Studio, Visual Studio Code, CLion, and Qt Creator. source
- Founded
- 2016 source
- Free plan
- Yes source
- Notable limitation
- The project notes that firewall access requirements depend on which ports are being installed. source
- Offline installation
- Yes source
- Offline use
- Asset caching supports offline and air-gapped environments by mirroring source assets and build tools. source
- Package catalog
- The overview describes a curated registry with over 2,300 open-source libraries. source
- Package formats
- C/C++ libraries source
- Private registry auth
- Yes source
- Purpose
- vcpkg is a C/C++ package manager for acquiring and managing libraries. source
- Security
- The project says most ports build libraries using their original build systems and download source code and tools from their official distribution locations. source
- Support
- The project lists documentation, a development-team support contact, and community channels including Discord and Slack. source
- Supported platforms
- Windows,macOS,Linux,Android,iOS source
- Telemetry
- vcpkg collects anonymous usage data, and users can opt out through bootstrap, a command-line option, or an environment variable. source
- Versioning
- Projects can use a baseline version set for reproducible dependency resolution and pin individual package versions. source
Checked against the maker's pages on 9 Oct 2026.