Last Updated: September 30, 2021
·
212
· lonsomehell

Install node in raspberry pi 3

curl https://nodejs.org/dist/v6.7.0/node-v6.7.0-linux-armv7l.tar.xz > node.tar.xz
tar xf node.tar.xz
mv node /opt/var
ln -s /var/opt/node/bin/node /bin/node
ln -s /var/opt/node/bin/npm /bin/npm