Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. CMake
  3. vcpkg

vcpkg

MITCMake2026.06.24

A free, open-source, cross-platform C/C++ package manager with a large collection of libraries and enterprise-ready features.

GitHubGitHub
27.3k stars7.6k forks0 contributors

What is vcpkg?

vcpkg is a free, open-source package manager for C and C++ that simplifies the process of acquiring, building, and managing dependencies across multiple platforms. It provides a large collection of libraries and integrates with various build systems to streamline development workflows. The tool is designed to address the unique challenges C/C++ developers face with dependency management, such as versioning, cross-platform compatibility, and build integration.

Target Audience

C and C++ developers working on cross-platform projects who need a reliable way to manage external libraries and dependencies. It is particularly useful for teams using CMake, MSBuild, or other build systems who want to avoid manual library handling.

Value Proposition

Developers choose vcpkg for its extensive library registry, seamless integration with popular build systems and editors, and robust features like version control and binary caching. Its cross-platform support and enterprise-ready capabilities make it a versatile tool for both open-source and commercial C/C++ projects.

Overview

C++ Library Manager for Windows, Linux, and MacOS

Use Cases

Best For

  • Managing C/C++ dependencies in cross-platform projects
  • Integrating open-source libraries into CMake or MSBuild workflows
  • Ensuring reproducible builds with version-locked dependencies
  • Speeding up builds with binary caching in CI/CD pipelines
  • Developing C++ applications that require a wide range of external libraries
  • Teams needing a consistent package management solution across Windows, macOS, and Linux

Not Ideal For

  • Projects that exclusively rely on system package managers (e.g., apt, yum) and prioritize minimal toolchain overhead
  • Embedded or real-time systems where building dependencies from source is impractical due to strict resource or time constraints
  • Environments with stringent security compliance requiring pre-approved, vendor-supplied binaries rather than source builds

Pros & Cons

Pros

Extensive Library Registry

vcpkg provides a vast collection of open-source C/C++ libraries, simplifying dependency acquisition without manual hunting, as highlighted in its large library collection feature.

Robust Cross-Platform Support

It works seamlessly on Windows, macOS, and Linux, directly addressing the pain points of C/C++ developers across different operating systems, per the README's emphasis on cross-platform capabilities.

Build System Integration

Easily integrates with CMake, MSBuild, and other build systems, with dedicated quick-start guides for each, streamlining dependency management in diverse workflows.

Enterprise-Ready Features

Features like version control, binary caching, and asset caching enable reproducible builds and speed up CI/CD pipelines, as documented in the key features section.

Cons

Source-Based Default Builds

vcpkg typically builds dependencies from source, which can lead to slow initial installations unless binary caching is configured, a trade-off mentioned in the binary caching documentation.

Default Telemetry Collection

It collects anonymous usage data by default, requiring manual opt-out via command-line flags or environment variables, which may not align with privacy-focused users or organizational policies.

Complex Custom Packaging

Creating and maintaining custom packages or registries involves a steep learning curve with CMake scripts and detailed maintainer guides, making it less accessible for casual contributors.

Frequently Asked Questions

Quick Stats

Stars27,293
Forks7,644
Contributors0
Open Issues939
Last commit6 hours ago
CreatedSince 2016

Tags

#msbuild#microsoft#open-source#libraries#build-tools#packages#c#dependency-management#visual-studio#cmake#c-plus-plus#cplusplus#cross-platform#package-manager#vcpkg#cpp#windows#c-plus-plus-libraries

Built With

C
CMake
C
C++

Included in

CMake5.4k
Auto-fetched 3 hours ago

Related Projects

NinjaNinja

a small build system with a focus on speed

Stars13,087
Forks1,811
Last commit1 day ago
conanconan

Conan - The open-source C and C++ package manager

Stars9,456
Forks1,116
Last commit16 hours ago
cpmcpm

📦 CMake's missing package manager. A small CMake script for setup-free, cross-platform, reproducible dependency management.

Stars4,067
Forks225
Last commit17 days ago
hunterhunter

Cross-platform package manager for C++ (based on CMake ExternalProject). [BSD2]

Stars1,897
Forks653
Last commit6 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub