Thursday, 28 July 2016

To completely uninstall node js from Ubuntu


To manually remove node js, npm and  node_modules from Ubuntu,  you need to do the following steps.

1. First of all you need to run the following command from command terminal as sudo.

sudo rm -rf /usr/local/bin/npm /usr/local/share/man/man1/node* /usr/local/lib/dtrace/node.d ~/.npm ~/.node-gyp /opt/local/bin/node opt/local/include/node /opt/local/lib/node_modules      


2. Remove node or node_modules directories from /usr/local/lib with the help of following command.

sudo rm -rf /usr/local/lib/node*                                                                                 

3. Remove node or node_modules directories from /usr/local/include with the help of following command.

sudo rm -rf /usr/local/include/node*                                                                         

5. Remove any node file or dir from /usr/local/bin with the help of following command.

sudo rm -rf /usr/local/bin/node*                                                                                
  
4.  Go to home directory and remove any node or node_modules directory, if exists. 


Now it is done................




 
 
 
  
 
 

32 comments:

  1. Replies
    1. Great Article The IEEE Xplore digital library is your gateway to trusted research—journals, conferences, standards, ebooks, and educational courses—with more than 3 million articles to help you fuel imagination, build from previous research, and inspire new ideas. Node Js Projects for Final Year IEEE will pave a new way in knowledge-sharing and spreading ideas across the globe. Project Centers in Chennai for CSE Node.js Corporate Training JavaScript Training in Chennai

      Delete
    2. Amcositsupport: To Completely Uninstall Node Js From Ubuntu >>>>> Download Now

      >>>>> Download Full

      Amcositsupport: To Completely Uninstall Node Js From Ubuntu >>>>> Download LINK

      >>>>> Download Now

      Amcositsupport: To Completely Uninstall Node Js From Ubuntu >>>>> Download Full

      >>>>> Download LINK 13

      Delete
  2. Great guide, however I would strongly suggest against putting rm -rf in your commands since if someone were to mis-paste or mis-type these commands, they risk deleting MUCH more than just their node folders, especially in combination with a wildcard.

    ReplyDelete
  3. Thank you so much for info Best regards <a href="//backendtalk.com>PHP Tutorial</a>

    ReplyDelete
  4. Hi,
    Thank you for your help !
    All is clean now :)

    ReplyDelete
  5. pq não li os comentários antes. Deletei um monte de coisa. Que raiva!!!!

    ReplyDelete
  6. Enjoyed reading the article above, really explains everything in detail, the article is very interesting and effective. Thank you and good luck for the upcoming articles nodejs certification

    ReplyDelete
  7. Nice article. It's very helpful to me. Thank you for share with us. Can you please check my article npm ERR! Unexpected end of JSON input while parsing near ‘…10.0″,”grunt-contrib-‘

    ReplyDelete
  8. Very useful article! To support Angular Web Development I would also like to share that 968,139 live websites are using Angular JS. Constantly, Top Angular Web Development Company are growing rapidly with the increasing demands of Angular Web development.

    ReplyDelete
  9. Amcositsupport: To Completely Uninstall Node Js From Ubuntu >>>>> Download Now

    >>>>> Download Full

    Amcositsupport: To Completely Uninstall Node Js From Ubuntu >>>>> Download LINK

    >>>>> Download Now

    Amcositsupport: To Completely Uninstall Node Js From Ubuntu >>>>> Download Full

    >>>>> Download LINK Pb

    ReplyDelete

  10. Nice blog for Irish student. Great Assignment Help is providing the plagiarism free content for the student at very cheap price. Our Writers are highly expert solve the assignment due to deadline. If you need any types of assignment just like essay writing service, dissertation writing service, coursework help contact us our professional support team. We are here 24*7 hours available to help you.

    ReplyDelete