angular-cli Getting started with angular-cli Installation or Setup


Example

Note: Angular CLI versions are under rapid development. This documentation targets for the latest version.


Prerequisites

To execute and work with the latest version, Angular CLI and the project have dependencies that require node v6.9.0 or higher.


Setup

Make sure that a node version is installed which is compatible with the CLI

Install the Angular CLI globally. It installs the latest version.

npm i @angular/cli -g or yarn global add @angular/cli, depending on the package manager in use.


ng help command will provide the executable commands