How to check the Angular version in cmd?

Angular is an open-source web application framework primarily maintained by Google and a community of developers. It is used for building dynamic, single-page web applications (SPAs) and front-end web development. Angular provides a structured approach to building web applications by offering features like two-way data binding, dependency injection, and a component-based architecture. It simplifies the development process and enhances code maintainability and reusability. Angular is written in TypeScript and has a comprehensive ecosystem of libraries and tools to support web application development.

Knowing the Angular version is important for maintaining compatibility with Angular projects, ensuring access to the latest features, and troubleshooting issues effectively

To check the Angular CLI (Command Line Interface) version installed on your computer, you can use the following command in the command prompt or terminal:

Here are the steps:

  1. Open Command Prompt or Terminal: Depending on your operating system, open the Command Prompt (Windows) or Terminal (macOS and Linux).
  2. Run the Command: In the Command Prompt or Terminal, type and execute the following command:
  1. View Angular Version: The command will display the Angular CLI version installed on your system, along with information about Node.js, npm (Node Package Manager), and other dependencies.

This command will provide you with details about your Angular CLI version, which is useful for ensuring compatibility with your Angular projects and any updates or troubleshooting you might need to perform.

How to check the Angular version using npm?

To check the Angular version installed in your project using npm (Node Package Manager), you can use the following command in your project’s root directory:

This command will display the version of the @angular/core package, which corresponds to the Angular version used in your project. It will also show the dependency tree for other Angular-related packages in your project.

Make sure you are in the project’s root directory when you run this command to get the version specific to your project.

You can find more information about Angular on the official Angular website ( and in the Angular documentation ( These resources provide comprehensive information, tutorials, guides, and documentation to help you learn and work with the Angular framework effectively.