0

I have followed several comprehensive guides on how to remove node from the machine, but nothing is working, and when I run node --version, it still shows to be on my machine.

I have followed https://www.quora.com/How-can-I-completely-uninstall-Node-js-from-MacOS and ran every command, but still node persists on my machine.

Is there a way to find where node is installed? whereis node returns nothing

Tycholiz
  • 1,102
  • 4
  • 17
  • 33
  • 1
    `which node` to find where node is installed. – hoangdv Jan 04 '20 at 05:36
  • ahh, you are a life saver. It was installed under `.nvm` for future reference to anyone who may stumble upon this post. I hadn't properly understood that nvm could actually hold node – Tycholiz Jan 04 '20 at 17:24

1 Answers1

2

Find the node using which node then use sudo rm node to remove the package.