CLI Command Reference
Angular CLI offers a plethora of commands for various development tasks. Here’s a concise overview of some essential commands.
Command |
Description |
---|---|
ng new |
Creates a new Angular workspace and project. |
ng serve |
Builds and serves the Angular application locally. |
ng generate |
Generates Angular components, modules, services, etc. |
ng build |
Builds the Angular application for production. |
ng test |
Runs unit tests for the Angular application. |
ng lint |
Lints the Angular application code. |
ng config |
Retrieves or sets Angular configuration values. |
Angular CLI – Overview and Reference
Angular is the most popular front-end framework for building dynamic web applications. It uses typescript by default for creating logic and methods for a class. In this article, we’ll explore the fundamentals of Angular CLI, its basic workflow, workspace structure, and see into a comprehensive command reference for various tasks.
Contact Us