Angular IO 6 Quick CLI commands: Shortz

Just simple quick commands to create an Angular 6 application. You can read more here. In this post, we will only do not that much reading.

This Angular post is compatible with Angular 4 upto latest versions, Angular 7, Angular 8, Angular 9, Angular 10, Angular 11, Angular 12 and Angular 13

Install nodejs and npm before start.

Then install the Angular CLI globally.

npm install -g @angular/cli


Create a new project

ng new my-app


Run the application

cd my-app
ng serve --open


Create the new component

ng generate component newcomponent



Leave a Reply

Your email address will not be published. Required fields are marked *