1. Getting Started

In this chapter, you dive right into things and install Node.js on your machine and make sure it is working correctly before moving further into the language and writing networked applications. By the end of this chapter, you should have Node set up and running on your computer, have entered a few small test programs to play around with it, and know how to use the built-in Node debugger.

Installing Node.js

Let’s begin by looking at installation on Windows. Mac and Linux users should feel free to skip ahead to the appropriate subsection, unless you have both types of machine.

Installation on Windows

To install Node.js on a Windows machine, you can use the handy installer provided on the nodejs.org website. Visit the Download ...

Get Learning Node.js, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.