

If you prefer, you can watch the tutorial video below: What is Angular?Īngular is a JavaScript framework developed and maintained by Google for building front-end applications. Prerequisitesīefore starting to learn Angular, I recommend that you become familiar with the following languages if you aren't already: In the first part of my Angular for Beginners series, you’re going to learn what Angular & Angular CLI is and how to install your first Angular app by using the CLI.

Use ng help command to see all the CLI commands, as shown below.Angular is one of the most popular JavaScript frameworks created and developed by Google. In the above command -g indicates global, so that you can use angular CLI anywhere on your local is specifies to install the latest verion of angular CLI.Īfter the installation, check the Angular version using the ng -version command in the terminal/command window, as shown below. To install the Angular CLI globally using NPM, open a terminal/command window, and enter the following command: npm install -g You can install libraries required for your application using Angular CLI (Command Line Interface).Īngular CLI is also used to generate, build, run, and deploy Angular application. Install Angular CLIĪngular provides many libraries and packages for application development. If you are on MAC, use sudo npm install -g npm command.Īfter installing Node.js and NPM, install the Angular CLI. If you don't have the latest version of NPM, then update it using the following command on Windows.

This will display the version number of NPM installed on your local machine. Check the NPM version on your local machine by opening a terminal/command window and type the following command:
