How to install Node.js library on Linux
sudo apt-get purge node nodejs node.js -y
sudo apt-get autoremoveAutomatic Node.js installation
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -sudo apt-get update && sudo apt-get upgrade
sudo apt-get install build-essential nodejs -yManual Node.js installation
sudo su
cd /opt
wget https://nodejs.org/dist/v6.9.5/node-v6.9.5-linux-armv6l.tar.gz -O - | tar -xz
mv node-v6.9.5-linux-armv6l nodejs
apt-get update && apt-get upgrade
apt-get install build-essential
ln -s /opt/nodejs/bin/node /usr/bin/node
ln -s /opt/nodejs/bin/node /usr/bin/nodejs
ln -s /opt/nodejs/bin/npm /usr/bin/npm
exit
export PATH=$PATH:/opt/nodejs/bin/Check your Node.js and npm installation
Install Blynk globally
Creating a new Node.js project with Blynk
What next?
Troubleshooting
Further reading
Last updated
Was this helpful?

