About downgrade the angular cli and core version

Viewed 26

Currently, I am using the Angular version14 I want to downgrade

npm uninstall -g @angular/cli,

npm cache clean,

npm install -g @angular/cli@11.0.0

I use this method to install angular11 but it's reinstalling the angular version14 when I check angular version "ng version" so does anybody have solutions to downgrade the angular version14 to angular version11

1 Answers

First, remove the global Angular CLI:

npm uninstall -g @angular/cli

Mac or Linux add sudo before npm.

Last, install the specific version.

npm install -g  @angular/cli@11.0.0
Related