Site Admin
Site Admin Founder of MeaningArticles
1692 Views

Angular Upgrade Angular 10 from Angular 11

Hello Dev.

In this web article we can cover on how to implement angular 10 to angular 11 upgrade. you will learn update @angular 10 to 11. this example will assist you upgrade angular cli to 11 in ubuntu. here you'll learn update angular 10 to 11. follow bellow educational step of how to update angular version 10 to 11.

while i was working on my angular software i want to replace my angular 10 model to angular 11. i wan run command for replace angular version but i cannot do it that. it say me some configuration affected. so i think how i will replace my angular 10 to angular 11.

i've two way to upgrade your angular 10 to 11 first we are able to immediately update your angular cli version. if it's now not working for you then you can uninstall and reinstall your angular cli with bellow steps.

Let's see a to way to upgrade angular 10 from 11:


Solution 1: Update Angular CLI...

You can directly upgrade your angular cli version globally by using update command of ng. so you can do it by bellow command.

ng update @angular/cli @angular/core

Now you can see ng version by following command...

ng version


Solution 2: Update Angular CLI using reinstall...

I will show you list of commands for update version angular 10 to angular 11 by using uninstall and upgrade angular version.
Uninstall Angular CLI...

npm uninstall -g @angular/cli

Clear Cache...

npm cache clean --force

npm cache verify

Install Angular CLI...

npm install -g @angular/cli

Now you have new version of angular cli. so you can check it by following command...

ng version

You will see layout like as bellow....
i'm hoping it assist you to, thanks for visit my article if you like my article then proportion together with your friend and social platform.