In this section we’ll dive into getting Node.JS installed on your development machines. We’ll take a look into some of the best practices to ensure you leverage the NodeJS infrastructure.
At the end of this section, you’ll have learned how to install NodeJS on all three of the most popular software development operating systems. We will also learn how to install NodeJS on the Raspberry PI, which will enable you to start developing some IoT software applications.
Although many different versions of Linux probably have Node.js as a prebuilt and installable package within their respective package managers. I almost always either roll my own on my Linux machines for full control over the process or make use Node Version Manager to install a number of different node versions on my development machine.. The installation tends to be reasonably painless, so I am not really creating much extra work for myself, and I often simply the process by developing my own BASH Scripts to automate the process.
To install Node.js on a Windows machine, you can use the handy installer provided on the nodejs.org website. Visit the Download page and then download Windows Installer (.msi) for either 32 bits or 64 bits, depending on what platform you are running. I show the installation for Windows 8/10 64bit.