Skip to content

vcpkg

C/C++ package manager from Microsoft for Windows, macOS and Linux projects

Permissive (OSI) · MIT
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

82

Health

Thriving

Overview

Stars

27,634

Last commit

today

Nov 2026

Repository age

10 years

since Sep 2016

Latest version

2026.10.16

Oct 2026

Contributors

–

33 active in 90 days

Releases

10

last 12 months

Language

CMake

vcpkg is a package manager for C and C++ libraries. Microsoft and the C++ community maintain it. It started in 2016 to help developers move projects to newer Visual Studio versions and now works on Windows, macOS and Linux. The tool is written in C++ with scripts in CMake.

You describe dependencies in a manifest file or install packages from the command line, for example with vcpkg install fmt. It then integrates with CMake, MSBuild or other build systems. Guides cover Visual Studio, Visual Studio Code, CLion and Qt Creator.

It can pin dependency versions, package and publish your own packages, reuse binary artifacts and cache assets for offline builds. Most ports build libraries with the original build system their authors chose. The code is MIT licensed, while each library keeps its own license and vcpkg places that license text in the installed share directory. It has no single commercial product it replaces, but it covers the role of language-specific dependency managers for C and C++.

Who it's for

C++ developers managing third-party libraries across platforms

One tool installs libraries on Windows, macOS and Linux and hooks into CMake.

Skip if: Your project already relies on another dependency manager such as Conan.

Visual Studio and MSBuild teams

It integrates with Visual Studio and MSBuild directly.

Skip if: You build only with a system package manager and distribution libraries.

Maintainers publishing their own C++ libraries

You can package and publish your own ports and contribute them to the registry.

Skip if: You do not want to maintain port recipes.

The problem it solves

C and C++ have no standard way to fetch and build dependencies. Collecting libraries by hand across operating systems is slow and error-prone. vcpkg handles fetching, building and versioning them for you.

Strengths

  • Works with CMake, MSBuild and other build systems
  • Supports version control of dependencies through manifests
  • Reuses binary artifacts and supports offline asset caching
  • Runs on Windows, macOS and Linux
  • MIT licensed with 10 releases in the last year

Trade-offs

  • Ports build libraries from source, so first builds can take time
  • If a library is missing from the registry, you must request or contribute it
  • Each library keeps its own license, so you must check them separately

Self-host vcpkg

Self-hostable
No (desktop or local app)

Quick start

vcpkg install fmt

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is vcpkg free?

Yes. The code is MIT licensed and free to use.

Which platforms does it support?

Windows, macOS and Linux.

Does it work with CMake?

Yes. It integrates with CMake, MSBuild and other build systems.

How are the libraries licensed?

Each library keeps its original license. vcpkg places the license files in the installed share directory.

Similar tools in App stores and package managers

nexus-public

App stores and package managers

Self-hosted binary repository manager for Maven, raw and APT artifacts, built on Java

2.7k 760 10 months ago Slowing EPL-1.0

Replaces JFrog Artifactory

flox

App stores and package managers

Reproducible, Nix-based dev environments for engineering teams, defined in one manifest

4.2k 142 today Thriving GPL-2.0

Obtainium

App stores and package managers

Android app that installs and updates apps straight from their release pages

22k 713 today Thriving GPL-3.0

SignTools

App stores and package managers

Self-hosted service for signing and sideloading iOS apps from a browser, no computer

2.3k 289 12 days ago Active AGPL-3.0

revanced-manager

App stores and package managers

Android app for applying patches to other Android apps on your own device

30k 1.2k 6 months ago Dormant GPL-3.0

Komi Store

App stores and package managers

Cross-platform app store for installing releases from GitHub, Codeberg and Forgejo

22k 810 29 days ago Active Apache-2.0