From the course: Angular: Testing and Debugging

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Installing Angular CLI

Installing Angular CLI - Angular Tutorial

From the course: Angular: Testing and Debugging

Start my 1-month free trial

Installing Angular CLI

- [Instructor] Angular's command-line tool is the best way to work with files in an Angular project. It lets you scaffold new components, update app settings and run local builds. It is a very powerful tool and I recommend you read the official documentation to learn all the things you can do with it. We install Angular CLI using NPM. I confirmed earlier in this course that I have NPM installed on my machine, so we can get right to the install process for Angular CLI. In Visual Studio Code, I'll go up to the Terminal menu, click on New Terminal and I'll use the NPM install command to install the package, I'll type npm install -g @angular/cli. The g flag here means we're installing the tool globally and can use it from any directory on our machine. I'll hit Enter. Installation may take a few minutes, so please be patient. NPM will show an error, if something goes wrong. If there's no errors just let the process finish. Nice, no errors. The Angular binary is called NG and I'll use the…

Contents