In this post we will review how to install Node.js and npm on a Rasbperry Pi 3 running a fresh installation of Raspbian Stretch Lite. The version of node I’ll be installing is 8, however if you need to install a different version you can still use these instructions. Let’s get started!
This is essentially a three part process. First we remove any installation or packages that may have come preinstalled with Raspbian. Next, we’ll run a bash script provided by NodeSource which updates our repository so we can do a simple apt install. And lastly we’ll use apt to install Node.js. [continue reading]