Important cmd's
Angular
Npm install –g @angular/cli (global environment)
Npm install –save-dev angular-cli (Local environment)
Node –v
Npm –v
Ng –v
Ng new “App Name”
Ng Serve
Npm install [email protected] –save
Ng g c “component Name”
Ng g s “Service Name”
Npm install --save [email protected]
Npm install jquery –save
Npm install –save @angular/material
Ng serve --port 4201
offical site :- https://angular.io/
Overview
The Angular CLI is a tool to initialize, develop, scaffold and maintain Angular applications
Getting Started
To install the Angular CLI:
npm install -g @angular/cli
Generating and serving an Angular project via a development server Create and run a new project:
ng new my-project
cd my-project
ng serve
Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.