Uninstalling node, node -v still returns a version number
I'm trying to uninstall node, I've gone into my 'local' on my mac, and removed node from 'bin', 'include', and 'lib'.
but when I check node -v, i'm still getting back a version. Is there somewhere else I need to delete it?
I ran the
sudo rm -rf node
command when I removed them2 Replies
It will depend on how you installed node to begin with.
For example, if you installed node via brew, the correct way to uninstall it will be different than if you installed it via nvm, and that will be different again from if you installed it from source, etc.
https://codedamn.com/news/nodejs/how-to-uninstall-node-js#uninstalling_the_nodejs_on_mac
This page seems to have pretty comprehensive instructions on how to uninstall node, and a "manual" fallback option if all of the normal methods fail.
You can also find out where node is coming from by running
which node
, it will output a directory which is the location of the nodejs executable.Node.js is a #back-end thing, not front end.
Next time please use the correct channel.