I'm trying to use the version 15.2.8 of Angular CLI, but I am struggling with the installation.
This is my actual version of angular:
To change the version I am starting the cmd with admin rights and launching the following commands:
The problem is that when I launch again ng v
I still obtain the first image result. So I still have Angular CLI version 8.
¿How can I change my Angular CLI version properly?
in order to change your angular cli version you should first try to uninstall the current version of cli with this command:
npm uninstall -g @angular/cli
then you install the version you want with this command for example you want version 12.0.0:
npm install -g @angular/cli@12.0.0