In this post, I am consolidating all the commonly used Angular CLI commands which every Angular developer uses frequently.
ng new <project-name> ng n <project-name>
ng add <npm-package>
The application is run on port 4200 by default. You can specify the port in the following command using --port flag.
Schematics can be directives, components, pipes, modules, guards etc
ng generate <schematic-name> <sample-name>
Compiles the application under the output directory named /dist
And, that's it for today. Would you like to add anything else to the list?