Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Remove C++ Build Tools and Python when tool is removed #68
I installed windows-build-tools using the following command:
Now I want to uninstall it. So I entered the following command:
But I am unable to uninstall it. I get the following output:
How can I uninstall windows-build-tools? Am I using
I looked at #51 and it suggests uninstalling Microsoft Visual C++ Build Tools from
What worked for me
It's not the most elegant but it gets the job done. The alternative was to script in PowerShell which I know nothing about. See this repository ps1/launch-installer.ps1 where I adapted the script from
Definitely not. Your command line is installing windows-build-tools via
You probably want to do what @ammonvictor suggested and
We sadly don't remove the Visual Studio C++ Build tools or Python when you uninstall. I've updated the title of he issue.
I'm frankly a bit afraid of breaking too many user's environments when we auto-remove anything from the system, but npm's hooks would allow us to run code and therefore remove the C++ Build Tools and/or Python programmatically.
I'd love to see a PR!