Hex vs vcpkg
Hex
hex.pmvcpkg
vcpkg.ioSide by side
| Figure | Hex | vcpkg |
|---|---|---|
| Price from | $7.50/mo | Free |
| Free plan | Yes | Yes |
| Free trial | Yes | — |
| Open source | — | — |
| Web | Yes | — |
| Windows | — | Yes |
| macOS | — | Yes |
| Linux | — | Yes |
| iOS | — | Yes |
| Android | — | Yes |
| API | Yes | — |
| Self-hosted | Yes | — |
| Plans published | 5 | 1 |
| Spec score · Package Managers | 8.3 (#26) | 8.7 (#12) |
| Spec score · Package Management Software | 8.3 (#6) | 7.9 (#10) |
| Founded | 2014 | 2016 |
| Free plan | Yes | Yes |
| Security | Hex supports organization authentication keys for CI, and its About page directs security vulnerability reports to [email protected]. | The project says most ports build libraries using their original build systems and download source code and tools from their official distribution locations. |
| Support | Hex directs users to [email protected] for direct contact with the core team and general support. | The project lists documentation, a development-team support contact, and community channels including Discord and Slack. |
Plans
Hex
- Open SourceFree
- Private Packages$9 a month
- Open SourceFree
- Private Packages (annual)$90 a year
- EnterprisePriced on request
In their own words
Hex
Hex is a package manager for the BEAM ecosystem, including Elixir and Erlang. Its services include an HTTP API, a website, a package and index repository, HexDocs, Mix integration, and other components. Packages work with Mix, Rebar, and erlang.mk, and the site provides usage guidance for Gleam. Developers can fetch dependencies without creating an account.
Organizations can publish and retrieve private packages and manage which users can access them. Free organizations can publish public dependency policies; paid organizations can make policies private and apply them to public and private packages. A private package can depend only on packages in its organization’s repository and the global hexpm repository. Documentation explains how to build and serve a repository on infrastructure an organization operates. Hex supports organization authentication keys for CI, and its source code is licensed under the Apache 2 License. The Open Source plan is free. Private Packages are listed at $9 / user / month, with an annual option at $90 / per user / per year. Enterprise pricing is by contacting sales. Hex lists API, self-hosted, and web platforms.
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.