Installing
-
2. Preinstallation Checking
First, possibly Check Node.js Version
Simply with:node -v
Or:
nodejs -v
If it’s not the required one then to Remove it use:
sudo apt-get --purge remove node
Or:
sudo apt-get --purge remove nodejs
And then again:
sudo apt-get autoremove
Finally, Reboot with:
sudo reboot
-
3. Setting Up Node JS Repository
How to Add Node JS Debian/Ubuntu-based Repository
Eventually to Look up the Device current OS Release execute:
uname -a
-
4. Installing Node Js
Now to Install NodeJs on Raspberry Pi 3 Debian/Ubuntu based OS
Simply run:sudo apt install -y nodejs
Or else:
sudo apt-get install -y nodejs
Contents