Raspberry Pi 3 Node.js setup (part 4)

This is from the excellent site thisdavej.com

Check the ARM architecture of your chip,

$ uname -m

It should be armv7l

Update the Debian package repository to include NodeSource

$ curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -

Install Node.js

$ sudo apt-get install nodejs

Check it is installed with

$ nodejs --version

Run node with,

$ node
> 1+2