Angular Learning

Managing Angular CLI Versions: Tips and Tricks

Managing Angular CLI Versions: Tips and Tricks

By default, installing angular-CLI gets the latest version, but sometimes we work with projects built in an old version.

To downgrade your current angular-cli, follow these steps.

Remove angular-cli

sudo npm uninstall -g @angular/cli
npm cache clean --force

Install specific angular-cli

npm install -g  @angular/cli@6.1.1

Have a nice day!

Photo by Brienne Hong on Unsplash


Real Software. Real Lessons.

I share the lessons I learned the hard way, so you can either avoid them or be ready when they happen.

No spam ever. Unsubscribe at any time.

Discussion