DEV Community 👩‍💻👨‍💻

Austin Spivey for Wia

Posted on

How to install Node.js on any Raspberry Pi

alt text
Hi All,
Here's a quick tutorial showing you how to install Node.js on any Raspberry Pi. When logged into your Pi (either by SSH or desktop), run the following 5 commands one by one:

cd ~
wget$(uname -m).tar.gz 
tar -xvf node-v4.3.2-linux-$(uname -m).tar.gz
cd node-v4.3.2-linux-$(uname -m)
sudo cp -R * /usr/local/
Enter fullscreen mode Exit fullscreen mode

To check Node.js is installed correctly, run node -v. It should return v4.3.2. Run npm -v to check if NPM (Node package Manager) has also been installed.

Top comments (1)

We are hiring! Do you want to be our Senior Platform Engineer? Are you capable of chipping in across sysadmin, ops, and site reliability work, while supporting the open source stack that runs DEV and other communities?

This role might just be for you!

Apply now