DEV Community

daud99
daud99

Posted on

9 4

Uninstall Node on MAC OS

Open your MAC terminal.

1- Go to directory.

cd /usr/local/include/
Enter fullscreen mode Exit fullscreen mode

2- Delete node folder.

sudo rm -rf node
Enter fullscreen mode Exit fullscreen mode

3- Go to directory.

cd /usr/local/lib
Enter fullscreen mode Exit fullscreen mode

4- Delete folder node_modules

sudo rm -rf node_modules
Enter fullscreen mode Exit fullscreen mode

5- Go to directory.

cd /usr/local/bin
Enter fullscreen mode Exit fullscreen mode

6- Delete other related folders.

sudo rm -rf node npm npx
Enter fullscreen mode Exit fullscreen mode

Top comments (2)

Collapse
 
vladiuskor profile image
Vlad Ko

Thank you. Your guide helped me to delete Node.js from MacBook Pro m1 pro. Now I can install nvm. Thank you, man.

Collapse
 
daud99 profile image
daud99

Pleasure.

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more