how to use angular cli code example
Example 1: angular cli
/* @latest is optional */
npm install -g @angular/cli@latest
Example 2: install angular on mac
npm install -g @angular/cli
Example 3: angular cli
ng new my-first-project
ng serve
/* @latest is optional */
npm install -g @angular/cli@latest
npm install -g @angular/cli
ng new my-first-project
ng serve