Open prawin-s opened 3 years ago
Angular CLI -
Angular CLI is a command line interface for Angular. It makes it easy to create an application that already works right out of the box.
Globally Install NodeJS & Install TypeScript
npm install -g typescript npm install -g typescript@4.0.2
To check installed TS version- tsc --version
npm install -g @angular/cli
Command to uninstall CLI- npm uninstall -g @angular/cli
Command to uninstall old cli version- npm uninstall -g angular-cli
Command to install specific version - npm install -g @angular/cli@10.1.4
Check Version - ng --version
Add Angular Material - ng add @angular/material
Install specific version - ng add @angular/material@10.2.3
ng new angularmaterial cd angularmaterial ng serve
Angular CLI -
Angular CLI is a command line interface for Angular. It makes it easy to create an application that already works right out of the box.
Globally Install NodeJS & Install TypeScript
npm install -g typescript npm install -g typescript@4.0.2
To check installed TS version- tsc --version
npm install -g @angular/cli
Command to uninstall CLI- npm uninstall -g @angular/cli
Command to uninstall old cli version- npm uninstall -g angular-cli
Command to install specific version - npm install -g @angular/cli@10.1.4
Check Version - ng --version
Add Angular Material - ng add @angular/material
Install specific version - ng add @angular/material@10.2.3
ng new angularmaterial cd angularmaterial ng serve