Have you ever wanted to know what is installed on your drive when you use the ng new my-project command?
Angular CLI commands – ng update
As might be already figuring it out that this option was made to update the projects with all its defined dependencies.
Angular CLI commands – ng xi18n
The command extracts the Internationalization (i18n) messages from your source code.
Angular CLI commands – ng version
Calling this command you get a complete version log for the Angular CLI and all other components like schematics, webpack, and typescript.
Angular CLI commands – ng test
The command is used to run the unit tests that are defined in the project. You can run the test by the ng test and ng t commands.
Angular CLI commands – ng serve
This is one of those commands (along with ng build and ng new) that you ready need to know and understand.
Angular CLI commands – ng run
Run is a command that triggers what is possible in the project via the architects’ key specification. You need to pass the project name and one of the possible architect keys to use it.
Angular CLI commands – ng lint
This command triggers the tools that are responsible for checking for the styling, syntax and programming errors in the code. You can also call it by running ng l command.
Angular CLI commands – ng help
As you may already know all commands that use ‘help’ keyword are related to providing information about the command line possible options.
Angular CLI commands – ng generate
This command allows you to generate files and applications. The list of options is pretty long as you can see in the Angular CLI Tutorial.