Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge
Read in English
Read in English Edit

Share via

Facebook x.com LinkedIn Email

vcpkg documentation

vcpkg is a cross-platform C/C++ package manager. Get access to thousands of high quality open-source libraries to empower your application and internally share collections of private components.

Get started

Quickstart

  • Install and use packages with CMake
  • Install and use packages with CMake in Visual Studio
  • Install and use packages with MSBuild in Visual Studio
  • Integrate with your CMake project
  • Integrate with your MSBuild (Visual Studio) project
  • Integrate with a different build system

Use External Registries

Tutorial

  • Registry types
  • Install your private dependencies

Package your own library

Tutorial

  • Create and publish packages
  • Apply patches to a dependency's source code
  • Contribute an open-source library to vcpkg
  • Provide usage documentation

Use vcpkg in CI

Tutorial

  • Mirror external resources for disconnected builds
  • Troubleshoot asset caching issues
  • Reuse builds between projects and machines
  • Troubleshoot binary caching issues

Version your dependencies

Concept

  • Versioning

Tutorial

  • Install a specific version of a package
  • Troubleshoot versioning issues

Customize ports and triplets

Reference

  • Environmental variables
  • Triplet settings

Maintain your own registry

Tutorial

  • Test your custom registry ports with GitHub Actions
  • Test your custom registry ports with Azure DevOps
Your Privacy Choices
  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2025
Your Privacy Choices
  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2025