'How to uninstall node.js [duplicate]

Even though I have no idea what it is I have installed node.js

I would now like to uninstall it from my Mac (Monterey OS and M1). But I can't find Node.js in the Applications folder and the only info I can find online are very complicated Terminal instructions. Again, I have no idea what Terminal is and do not want to have to use it.

Is there an uninstaller? Or easy way to uninstall it?



Solution 1:[1]

Complete uninstall Node.js on macOS Monterey version 12.0.1

To check the current node version installed on your system:

# node -v
# v14.15.0

Enter the given below commands to delete Node from your system:

# cd /usr/local/include
# sudo rm -R node
# cd ../lib
# sudo rm -R node_modules
# cd ../bin
# sudo rm -R node

to check that node doesn't exist anymore

# node -v
# -bash: node: command not found //if  this came that means it uninstall successfully

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Utsav Upadhyay