Pramod Kumar
Pramod Kumar

Reputation: 49

how to downgrade angular-cli 1.7.3 to angular-cli 1.6.8

I am getting issue in my Ubuntu regarding reinstalling of angular. my current version: Angular 1.7.3 Node: 8.11.1 OS: Linux Angular: 4.4.4

I want to reinstall from angular 1.7.3 to angular 1.6.8

Please help..

Upvotes: 3

Views: 16493

Answers (2)

user5734085
user5734085

Reputation:

Correct command now is this:

npm uninstall -g angular-cli npm cache clean --force npm install @angular/[email protected]

The key here is first @ before angular and angular/cli not angular-cli.

Upvotes: 7

Akshaya Jeevan
Akshaya Jeevan

Reputation: 634

You can uninstall the current version of angular cli- 1.7.3 and install 1.6.8

npm uninstall -g angular-cli
npm cache clean
npm install -g [email protected]

Upvotes: 2

Related Questions