Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What's the best way to reinstall node.js?

share|improve this question

migrated from Oct 16 '10 at 3:41

This question came from our site for professional and enthusiast programmers.

If you've already installed node, then add a a make uninstall in there too as the first step. So make uninstall; make clean; make; make install; should do it. Note that this has to be run from the source directory for the nodejs version you currently have installed.

share|improve this answer

If you are going to reinstall you might as well allow for multiple versions, so I would highly recommend NVM

share|improve this answer
make clean


make install
share|improve this answer

Assuming you pulled and built from source, you can follow the above examples. If you installed Node though apt-get, you can try something like this:

$ sudo apt-get remove nodejs


$ sudo apt-get --purge remove nodejs
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.