Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to uninstall node.js [duplicate]

Tags:

node.js

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?

like image 604
user2991837 Avatar asked Jan 25 '26 23:01

user2991837


1 Answers

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
like image 151
Utsav Upadhyay Avatar answered Jan 28 '26 16:01

Utsav Upadhyay