Hello Devs,
In this tutorial, we are going to learn how to update angular cli version 9 to 10.
We will learn how to change angular cli version from 9 to 10. You can see upgrade angular cli version globally.
Follow this step by step guide given below:
Update Angular CLI:
ng update @angular/cli @angular/core
Run this command:
ng version
If this doesn't work then try this:
Update Angular CLI using reinstall:
npm uninstall -g @angular/cli
Clear Cache:
npm cache clean --force
npm cache verify
Install Angular CLI:
npm install -g @angular/cli
Run this command:
ng version
I hope this example helps you.