In the Angular CLI ng version Command chapter, we explain the syntax, options of the ng version command along with an example. So all the Angular CLI ng version commands listed below-
Syntax
The syntax for the ng version command is as follows −
ng version [options] ng v [options]
ng version command shows the Angular CLI version installed.
Options
Options are optional parameters.
Sr.No. | Option & Syntax | Description |
---|---|---|
1 | –help=true|false|json|JSON | Shows a help message for this command in the console.Default: false |
Example
An example for the ng version command is given below −
\>Node ng version _ _ ____ _ ___ / \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _| / ? \ | '_ \ / _` | | | | |/ _` | '__| | | | | | | / ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | | /_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___| |___/ Angular CLI: 9.1.0 Node: 12.16.1 OS: win32 x64 Angular: ... Ivy Workspace: Package Version ------------------------------------------------------ @angular-devkit/architect 0.901.0 @angular-devkit/core 9.1.0 @angular-devkit/schematics 9.1.0 @schematics/angular 9.1.0 @schematics/update 0.901.0 rxjs 6.5.4
Next Topic : Click Here