talira

C/C++ dependency manager from Microsoft for all platforms, build systems and workflows

open sourceMITfree

vcpkg is a free, open source C/C++ package manager maintained by Microsoft's C++ team and the community. It downloads and builds libraries from source in one step, from a catalog of about 2,900 open source libraries or your own private registries, with dependencies declared on the command line or in a manifest kept in your repository. It runs on Windows, macOS and Linux and works with any build system, IDE and CI pipeline.

Ways to install

Package managers

Problems it solves

  • install C++ libraries and their dependencies without building each one by hand
  • pin the versions of my C/C++ dependencies the same way locally and in CI
  • share private C++ libraries across my team's projects

Features

  • about 2,900 open source C/C++ libraries, built from source
  • manifest mode: dependencies declared in a file in your repo
  • private registries for your own libraries
  • works with CMake, MSBuild and other build systems

Alternatives

The same job

These do what vcpkg does.

  1. Conan The open source C and C++ package manager
  2. Conda Package, dependency and environment manager for any language
  3. Composer A Dependency Manager for PHP
  4. NuGet The package manager for .NET
  5. Nix Purely functional package manager for reproducible, declarative builds
  6. Swift Package Manager Organize, manage, and edit Swift packages

Compare vcpkg with the top 3