Before we can start using angular-cli, we need to install Node.js on our machine. Node is a JavaScript runtime built on Chrome's V8 JavaScript engine. It enables JavaScript to run without a browser, which leads to the development of many development tools that we use today, such as task runners, compilers, linters, and module loaders. The modern web frontend development environment relies on these tools.
Node is cross-platform, so it can run on any popular operating system. The easiest way to install node
is by downloading the official installer for your operating system. To do this, go to https://nodejs.org/en/ and find the official installer for Windows, Macintosh, or Linux. Currently, Node releases have two major paths—a Long Time Support (LTS) and a stable version. For this book, we will use the LTS version of Node. Make sure to download the Node 4.24.53 LTS version installer.
After you download and run the installer successfully, open your terminal (or command...