Node.js is a JavaScript runtime environment. It is a technology that enables you to run JavaScript code directly on your computer, without the need for a browser. It has gained popularity, Node.js is the technology responsible for these servers actually running, as well as being behind countless web development utilities. Throughout this book, we will use it for the latter option.
npm
is a large repository of JavaScript libraries and utilities—almost 500,000 in the time of writing — that you can easily install and add to your project or computer.
To install Node.js, follow these steps:
- Open your browser and navigate to https://nodejs.org/en/download.
- Find the installer that matches your operating system, and click on it to download it.
- When the download is complete, execute the downloaded file to open the installation wizard, which should look like the following:
- Click
Next
to move forward in the wizard steps until the installation begins:
- Once the Node.js installation...