612 B
612 B
ng
Create and manage Angular applications. More information: https://angular.dev/cli.
- Create a new Angular application inside a directory:
ng {{[n|new]}} {{project_name}}
- Compile the application and start a local development server:
ng {{[s|serve]}}
- Create a new component:
ng {{[g|generate]}} {{[c|component]}} {{component_name}}
- Build an Angular application or library:
ng {{[b|build]}}
- Run unit tests:
ng {{[t|test]}}
- Add a package to the current project:
ng add {{package}}
- Update workspace dependencies:
ng update
- Display version:
ng {{[v|version]}}