How does one completely remove vcpkg and all installations/system changes made by it?
I recall seeing some FAQ about vcpkg where it said that you could just delete the vcpkg folder. However, I've been trying to find that same FAQ for over an hour now, to no avail. Also "just delete the folder" being the solution seems implausible to me, since I would assume vcpkg changes some environment variables or other settings, as well as the integration with Visual Studio that I was trying to use. Online search on this topic only yielded people discussing how to remove multiple installed libraries at once, with no clear solution even to that problem (I would be interested in this as well). The vcpkg website itself seems to offer no answers to this question.
edit: I found the page saying "just delete the folder" at docs.microsoft.
The documentation page https://docs.microsoft.com/en-us/cpp/build/vcpkg offers the instruction how to uninstall:
Uninstall vcpkg
Just delete the directory.
It could also mention that removing the vcpkg directory completely actually uninstalls all the installed libraries (all ports), because the vcpkg directory is the sole place where vcpkg.exe
deploys any files.
Additionally, if you did run vcpkg integrate install
, then you may also run vcpkg integrate remove
to remove the user-wide (global) integration.
vcpkg integrate remove Remove user-wide integration
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With