Skip to content

Quick Start

Get vcpkg-harbor running in under 5 minutes.

This starts vcpkg-harbor with MinIO for storage:

Terminal window
# Clone and start
git clone https://github.com/rennerdo30/vcpkg-harbor.git
cd vcpkg-harbor
docker-compose up -d

Services:

  • vcpkg-harbor: http://localhost:15151
  • MinIO Console: http://localhost:9001 (admin: minioadmin/minioadmin)

For quick testing without external dependencies:

Terminal window
# Install
pip install vcpkg-harbor
# Start with filesystem storage
VCPKG_STORAGE_TYPE=filesystem VCPKG_STORAGE_PATH=./cache vcpkg-harbor

Add the binary cache to your vcpkg configuration:

=== “Environment Variable”

Terminal window
export VCPKG_BINARY_SOURCES="http,http://localhost:15151/{name}/{version}/{sha}"

=== “vcpkg Configuration” Add to vcpkg-configuration.json:

{
"default-registry": {
"kind": "git",
"repository": "https://github.com/microsoft/vcpkg"
},
"registries": [],
"binary-sources": [
{
"kind": "http",
"uri": "http://localhost:15151/{name}/{version}/{sha}"
}
]
}
Terminal window
# Install a package
vcpkg install zlib
# The binary will be cached. On next install (or on another machine),
# vcpkg will download the pre-built binary instead of compiling.
  1. Check the dashboard: Open http://localhost:15151 in your browser
  2. Check the API: curl http://localhost:15151/health
  3. View metrics: curl http://localhost:15151/metrics