Skip to content

Part 1. Install Node

Rachel edited this page Nov 17, 2015 · 1 revision

It's time to install node. I've seen a couple different ways to do this and personally had to use each of them once because the other didn't work (and I have no idea why). So the first thing you should try is fetching the latest node version and installing the package:

$ wget http://node-arm.herokuapp.com/node_latest_armhf.deb
$ sudo dpkg -i node_latest_armhf.deb

If that first command gives you errors, try adding Adafruit's package repository to your Pi's /etc/apt/sources.list file and installing from there instead:

$ curl -sLS https://apt.adafruit.com/add | sudo bash
$ sudo apt-get install node

To verify that you successfully installed node, run:

$ node -v

It should return a version number.

<< Part 1: Upgrade to Raspbian Jessie - Part 1. Install the NodeJS Server >>

Clone this wiki locally