Skip to main content
Angular CLI - ng version

Angular CLI - ng version

Inspect the installed Angular CLI and framework version information.

Angular CLI - ng version illustration

How it works

ng version (also ng v) reports Angular CLI, Angular packages, Node.js, package manager, and operating system information. Include this output when diagnosing setup problems, and compare the local project CLI with the global installation.

Good practice

  • Check the local Angular CLI version and run commands from the intended workspace.
  • Review angular.json targets and builders before assuming optional commands are configured.
  • Use the package manager and lockfile selected by the project.
  • Review generated files, configuration changes, and build output before committing or deploying.

Further reading: Tutorialspoint: Angular CLI - ng version · Current Angular CLI reference · Workspace configuration.