DEV Community

Austin Spivey for Wia

Posted on

4 1

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 https://nodejs.org/dist/v4.3.2/node-v4.3.2-linux-$(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 (0)

The Most Contextual AI Development Assistant

Pieces.app image

Our centralized storage agent works on-device, unifying various developer tools to proactively capture and enrich useful materials, streamline collaboration, and solve complex problems through a contextual understanding of your unique workflow.

👥 Ideal for solo developers, teams, and cross-company projects

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay