DEV Community

Cover image for Install a specific angular-cli version
Dany Paredes
Dany Paredes

Posted on • Edited on

Install a specific angular-cli version

By default, install angular-cli it gets the latest version, but sometimes we work with projects build in an old version.

For downgrade, you current angular-cli follow these steps.

Remove angular-cli

sudo npm uninstall -g @angular/cli
npm cache clean --force
Enter fullscreen mode Exit fullscreen mode

Install specific angular-cli

npm install -g  @angular/cli@6.1.1
Enter fullscreen mode Exit fullscreen mode

Have a nice day!

Photo by Brienne Hong on Unsplash

Top comments (0)