uv vs vcpkg
uv
docs.astral.shvcpkg
vcpkg.ioSide by side
| Figure | uv | vcpkg |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| iOS | — | Yes |
| Android | — | Yes |
| Plans published | 1 | 1 |
| Spec score · Package Managers | 8.9 (#4) | 8.7 (#12) |
| Dependency resolution | Yes | Yes |
| Free plan | Yes | Yes |
| Offline installation | Yes | Yes |
| Package formats | source distributions,wheels,requirements.txt,pylock.toml | C/C++ libraries |
| Private registry auth | Yes | Yes |
| Purpose | uv is an extremely fast Python package and project manager written in Rust. | vcpkg is a C/C++ package manager for acquiring and managing libraries. |
| Security | uv uses TLS with rustls and bundled Mozilla root certificates by default to verify HTTPS connections. | The project says most ports build libraries using their original build systems and download source code and tools from their official distribution locations. |
| Supported platforms | macOS,Linux,Windows,CPython,PyPy,Pyodide,GraalPy | Windows,macOS,Linux,Android,iOS |
Plans
In their own words
uv
uv is a Python package and project manager for Linux, macOS, and Windows. Written in Rust, it manages dependencies and environments, with lockfiles and workspaces, and can install, list, pin, or uninstall Python versions. It also runs scripts with dependencies and runs or installs command-line tools from Python packages. Its pip-compatible interface is intended to cover work done by tools such as pip, pip-tools, pipx, poetry, pyenv, twine, and virtualenv, though its commands do not exactly match those tools. The documentation describes uv as 10–100x faster than pip. It supports source distributions, wheels, requirements.txt, and pylock.toml, as well as offline installation and private registry authentication. For package selection, its default first-index strategy limits candidates to the first index where a package is found. Credentials are not stored in uv.lock, but uv currently stores them in a plaintext file; native system secret storage is an experimental preview. The free plan is free.
vcpkg
vcpkg is a free package manager for acquiring and managing C/C++ libraries. Its curated registry contains over 2,300 open-source libraries, with dependency resolution across Windows, macOS, Linux, Android, and iOS. Projects can declare dependencies, optional features, and version constraints in manifest files; baseline version sets and individual package pins help keep dependency choices reproducible. vcpkg integrates with CMake and MSBuild, while manual integration is supported for other build systems. Built packages can be cached for reuse across developer machines and continuous integration runs. Asset caching can mirror source assets and build tools for offline or air-gapped environments. Users can also create custom registries for private libraries, patches, or other packages. Documented editor integrations include Visual Studio, Visual Studio Code, CLion, and Qt Creator. The project says most ports use libraries' original build systems and obtain source code and tools from their official distribution locations. vcpkg collects anonymous usage data, with opt-out options. Firewall access needs depend on the ports installed.