Node Setup





sudo apt-get update 
sudo apt-get install nodejs 
sudo apt-get install npm
nodejs -v

In order for some npm packages to work (those that require compiling code from source, for example), you will need to install the build-essential package:

sudo apt-get install build-essential 

Removing Node.js

sudo apt-get remove nodejs
sudo apt-get purge nodejs
sudo apt-get autoremove

Was this article helpful?

Related Articles

Leave A Comment?