Ensure the Latest Node.js on Your Raspberry Pi

en.pdf24.org    Send article as PDF   
This is just a quick tutorial explaining how you can install the latest version of Node.js on your Raspberry Pi.

nodejs

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 in your RPi, If you don’t know how to prepare your Pi, you can read here my Getting Started with Raspberry Pi Guide.

  1. 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
  1. Checking Your Node.js Installation

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

node -v

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

Previous Post
Raspberry Pi to VGA Mnitor

How to connect & use a VGA Monitor with Raspberry PI

For a while I have been looking into a compact Video Monitor to use with a Raspberry or Banana PI. Whilst in a opportunity shop looking for a couple of ... Read more

Next Post

Using Flask to Control Raspberry Pi GPIOs

With this project you can create a standalone web server with a Raspberry Pi that can toggle two LEDs. You can replace those LEDs with any output (like a relay ... Read more

Short URL: http://tinyurl.com/zmqn23t

Leave a Reply

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



Do NOT follow this link or you will be banned from the site!
error: Content is protected !!