run angular project locally 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
npm install -g @angular/cli
ng new my-dream-app
cd my-dream-app
ng serve
/* @latest is optional */
npm install -g @angular/cli@latest