Managing Angular CLI Versions: Tips and Tricks

Managing Angular CLI Versions: Tips and Tricks

How to Install a Specific Version of the Angular CLI

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