ItSolutionStuff.com

How to Uninstall and Reinstall Angular cli?

By Hardik Savani β€’ May 1, 2024
Angular

Today, how to uninstall angular cli and reinstall it is our main topic. let’s discuss about how to uninstall angular cli in ubuntu. you can understand a concept of uninstall angular cli and reinstall. i would like to share with you how to remove angular cli and reinstall.

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

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 hope it can help you...

Hardik Savani

Hardik Savani

I'm a full-stack developer, entrepreneur, and founder of ItSolutionStuff.com. Passionate about PHP, Laravel, JavaScript, and helping developers grow.

πŸ“Ί Subscribe on YouTube

We Are Recommending You

β˜…

How to Install And Use JQuery in Angular?

Read Now β†’
β˜…

Laravel 6 Install Bootstrap 4 Tutorial

Read Now β†’
β˜…

How to Install Botman Chatbot in Laravel?

Read Now β†’
β˜…

How to install Adminer with PHP Laravel?

Read Now β†’
β˜…

How to Install Laravel in Your Android Phone?

Read Now β†’
β˜…

How to Install Composer using Command Line in Ubuntu?

Read Now β†’
β˜…

How to Install Laravel on Windows Xampp Server?

Read Now β†’
β˜…

How to Install Sublime Text Editor in Ubuntu?

Read Now β†’