Uninstall node js on MacOs big Sur

delightfullynerdy

Dalitso Kasonde

Posted on February 18, 2021

Uninstall node js on MacOs big Sur
  1. Open your terminal
  2. Go to home directory
  3. Type cd usr
  4. Type cd local
  5. Type cd include
  6. Type ls
  7. Delete node directory by typing sudo rm -rf node
  8. Go back to local directory by typing cd ..
  9. Go to lib dirctory cd lib
  10. Delete node_modules folder, type sudo rm -rf node-modules
  11. Go to bin directory by typing cd .. and cd bin
  12. Type sudo rm -rf node

P>S : npm and npx folders can also be deleted inside the bin folder

Node.js is successfully uninstalled

💖 💪 🙅 🚩
delightfullynerdy
Dalitso Kasonde

Posted on February 18, 2021

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related