Installation Guide
Learn how to install Node.js.
We'll cover the following
If we want to try Node.js at our local machine, the guidelines provided in this appendix will help.
Installing Node.js
Node.js is free, open source, and available for all operating systems. We can install Node.js by either downloading the source code or installing it with Homebrew.
-
Downloading the source code: Official packages for all the major platforms are available here. Other package managers for Linux and Windows are listed here.
-
Installing with Homebrew: Homebrew is a popular package manager for macOS and Linux operating systems. On the macOS, if we already have Homebrew installed, we can install Node.js very quickly by running the following command in the terminal:
Get hands-on with 1400+ tech skills courses.