How do you install newest version of node.js on Raspberry Pi

This is just a quick blog post explaining how you can install the latest version of Node.js in your Raspberry Pi.

It’s really easy, and you can install Node.js with two simple commands in your terminal. Since I’ve spent a lot of time searching for the easiest way of installing the latest version, I’ve decided to share how to do it.

1) Setting Up Your Raspberry Pi

First, you must be running the latest version of Raspbian on your RPi. If you don’t know how to prepare your Pi, you can read my Getting Started with Raspberry Pi Guide.

2) Installing Node.js in Your RPi

Having an Internet connection established to your Raspberry Pi, open your terminal window. Type the following commands:

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

3) Checking Your Node.js Installation

Now, to ensure that your Raspberry Pi has Node.js installed, type the following command:

node -v

Top 6

Raspberry Pi eBooks

From Zero to Professional

Raspberry Pi Projects

The preceding command should prompt you with the version of Node.js. And that’s it!

Do you have any questions? Leave a comment down below!

Thanks for reading. If you like this post, you might like my next ones, so please support me by subscribing to my blog and my Facebook Page.

Share your love

🚀 Discover the world of electronics and innovation!

✨ Create, program, and experiment with all your creative ideas with ease.

Spotpear

Leave a Reply

Your email address will not be published. Required fields are marked *