Hello all! In this article, we will talk about how to remove angular cli and reinstall. Here you will learn how to reinstall angular cli in ubuntu. let’s discuss about how to uninstall angular cli and reinstall it. you'll learn how to uninstall angular cli in ubuntu.
When i was working on my angular application i need to update my angular 8 version to angular 9. i wan run command for update angular version but i can not do it that. it say me some configuration affected. so i thought how i can update my angular 8 to angular 9.
However, i thought i have to reinstall my angular cli in ubuntu. so i just uninstall my old angular cli and then i reinstall my angular cli.
I will show you list of commands for update version angular 8 to angular 9 by using uninstall and upgrade angular version.
Uninstall Angular CLI:
npm uninstall -g @angular/cli
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:
You will see layout like as bellow:
I hope it can help you...