May 2018
Intermediate to advanced
512 pages
11h 3m
English
Starter commands help generate new projects or add dependencies. Angular CLI commands help create major components by automatically generating boilerplate scaffolding code with ease. For the list of full set of commands, visit https://github.com/angular/angular-cli/wiki:
| Name | Purpose | CLI Command |
|---|---|---|
| New | Creates a new Angular application with initialized git repository, package.json, and routing already configured. Run from parent folder. |
npx @angular/cli new project-name --routing |
| Update | Updates Angular, RxJS, and Angular Material dependencies. Rewrites code, if necessary, to maintain compatibility. |
npx ng update |
| Add Material | Installs and configures Angular Material dependencies. ... |
Read now
Unlock full access