Installing the Angular CLI
In this section, we'll learn how to install the Angular CLI, which will allow us to quickly get started with our Angular project without having to deal with the complexity of setting webpack or another build system.
The official utility for creating Angular projects is the Angular CLI. It simplifies the process of creating fully functional Angular projects.
The Angular CLI allows you to do more than just create project files and install dependencies. It also helps you throughout the development process, from serving your application locally through testing and generating final production bundles and deploying them to your chosen hosting provider.
Now, let's begin with the chapter's first practical step. By opening a new command-line interface and entering the following command, you can install the Angular CLI from npm
:
npm install -g @angular/cli
At the time this chapter was written, angular/cli
version 12 is installed on our...