Skip to content

Instantly share code, notes, and snippets.

@nutrino
Last active March 3, 2024 23:36
Show Gist options
  • Save nutrino/ec253f96dd9454daf88c9c63b699f2de to your computer and use it in GitHub Desktop.
Save nutrino/ec253f96dd9454daf88c9c63b699f2de to your computer and use it in GitHub Desktop.
vcpkg commands
# Initialize
./bootstrap-vcpkg.sh -disableMetrics
# Export (online PC)
./vcpkg export [pkg_names] --zip
# Import (vcpkg folder of offline PC)
unzip [zip_file_name]
# Remove all packages including 'boost'
./vcpkg list | grep 'boost' | cut -d':' -f1 | xargs -n1 ./vcpkg remove --recurse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment