angular-cli npm code example
Example 1: install angular cli
npm install -g @angular/cli
ng new my-dream-app
cd my-dream-app
ng serve
Example 2: angular cli
/* @latest is optional */
npm install -g @angular/cli@latest
Example 3: create angular project cli version 8
npm install @angular/[email protected]
ng new angular2app
npm install @angular/[email protected]
ng new angular4app
npm install @angular/[email protected]
ng new angular5app
npm install @angular/[email protected]
ng new angular6app
npm install @angular/[email protected]
ng new angular8app
npm install @angular/[email protected]
ng new angular8app
npm install @angular/[email protected]
ng new Angular9App