Last active
March 3, 2024 23:36
-
-
Save nutrino/ec253f96dd9454daf88c9c63b699f2de to your computer and use it in GitHub Desktop.
vcpkg commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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