In this article, we’re going to see how can we check Angular CLI version and how can we update it using angular cli.
Table of Contents
Angular Versioning
Angular version numbers have three parts: major.minor.patch. For example, version 7.2.11 indicates major version 7, minor version 2, and patch level 11.
Major releases contain significant new features, some but minimal developer assistance is expected during the update.
Minor releases contain new smaller features.
Patch releases are low risk, bug fix releases.
Angular Release Frequency
In general, you can expect the following release cycle:
- A major release every 6 months
- 1-3 minor releases for each major release
- A patch release and pre-release (next or rc) build almost every week
Checking Angular CLI version
You can use any one of the following command to check the Angular CLI version.
- ng –version
- ng v
If you’ll enter one of this command in command prompt. The following output will be displayed.
It’ll also show the version of other angular packages, rxjs and typescript.

If you’ll see in the above output, you can see that we’ve Angular CLI: 7.1.3
Now at the time of writing this article, that latest angular version(stable) is Angular 9.1.11
Now we’ll see how can we update Angular CLI version
Updating Angular CLI version to Angular 9
To update your angular version, there’s a Guide Angular Update Guide. You can follow the steps described over there and you can easily update to any version of angular from any version.
Now my goal is to update my angular version from 7.1.3 to latest 9.1.11.
Now I’ll go to Angular Update Guide website and will enter required information as following:

If you’ll click on the Show me how to update button, it’ll show the steps to update to angular 9.
Now follow the steps described there and your project will be updated to angular 9.
Updating Angular CLI version Globally
To update the angular CLI globally, you’ll need to uninstall existing angular cli package and then npm cache verify and the install the latest angular CLI as follows:
npm uninstall -g angular-cli
npm cache verify
npm install -g @angular/cli@latest
Also Read: