# vcpkg

14 Hacker News commenters recommended vcpkg and 13 criticized it, November 2025 to November 2026. It was recommended in 8 of 13 months.

**Verdict:** Recommended cross-platform C/C++ package manager with a large recipe library and reliable builds. Common caveat: setup is clunky, packages are sometimes broken, and CMake still needs writing.

## Why people recommend it

- Works reliably, rarely causes problems (2 comments): "I've never had a problem with vcpkg, surprisingly." ([source](https://news.ycombinator.com/item?id=46781125)) "vcpkg+ninja, which quite frankly works really well" ([source](https://news.ycombinator.com/item?id=48118999))
- Cross-platform C/C++ dependency management (2 comments): "tools like vcpkg and Conan exist specifically for this: cross-platform C/C++ dependency management with one workflow regardless of target" ([source](https://news.ycombinator.com/item?id=47087560)) "they finally managed to create a usable cross platform package manager for C++" ([source](https://news.ycombinator.com/item?id=46168934))
- Established project with large recipe library (2 comments): "well established, well designed and not anti-pattern-ridden project with a massive library of build recipes" ([source](https://news.ycombinator.com/item?id=46491258)) "Conan and vcpkg are established enough." ([source](https://news.ycombinator.com/item?id=48791872))

## What people warn about

- Packages often broken or need patching (3 comments): "I seem to constantly run into broken vcpkg packages with bad security patches that keep them from compiling" ([source](https://news.ycombinator.com/item?id=46780867)) "I seem to constantly run into broken vcpkg packages with bad security patches" ([source](https://news.ycombinator.com/item?id=46780039)) "ended up having to patch builds of 90% of the packages to get it to work" ([source](https://news.ycombinator.com/item?id=47710535))
- Setup is clunky and needs configuration (4 comments): "decent selection but even then it's missing lots and still really clunky to set up" ([source](https://news.ycombinator.com/item?id=48119753)) "conan and vcpkg are not default and required much more configuring in comparison with cargo" ([source](https://news.ycombinator.com/item?id=47566085)) "I wouldn't call it straightforward compared to something like nuget or cargo." ([source](https://news.ycombinator.com/item?id=46453591))
- Missing libraries and binary packages (2 comments): "decent selection but even then it's missing lots and still really clunky to set up" ([source](https://news.ycombinator.com/item?id=48119753)) "vcpkg doesn't provide binary packages and has quite a few autotools-shaped holes" ([source](https://news.ycombinator.com/item?id=46783480))
- Still requires writing more CMake (2 comments): "Cmake can use vcpkg to install a package but then I still have to write more cmake" ([source](https://news.ycombinator.com/item?id=47706234)) "it seems you still have to use cmake, and if so, it is indeed more complex than fpm" ([source](https://news.ycombinator.com/item?id=47228280))

## Alternatives hackers recommend

- [Nix](https://hackerapproved.com/p/nix.md): 378 recommend
- [Homebrew](https://hackerapproved.com/p/homebrew.md): 271 recommend
- [npm](https://hackerapproved.com/p/npm.md): 161 recommend
- [pnpm](https://hackerapproved.com/p/pnpm.md): 124 recommend
- [Cargo](https://hackerapproved.com/p/cargo.md): 123 recommend

## Cite as

Hacker Approved, "vcpkg", https://hackerapproved.com/p/vcpkg/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
