Specified to install Angular cli version, installation failed

such as the title.
do the following, for example, I want to install CLI 1.1.0 or 1.7.3, but after operation, ng-v to check the version, why is it still 1.7.4? What"s the problem?

`
Angular CLI: 1.7.4
Node: 6.12.2
OS: win32 x64
Angular: 5.2.11
. Animations, common, compiler, compiler-cli, core, forms
. Http, language-service, platform-browser
. Platform-browser-dynamic, router
`

do the following:
1. Uninstall the previous version

npm uninstall-g @ angular/cli

2. Clear the cache to ensure that the uninstall is clean

npm cache clean

3. Check to see if the uninstall is clean

enter a command

ng-v

display is not an internal command

4. Install the specified version

npm install-g @ angular/cli@1.1.0

Mar.18,2021

maybe you also have cli, installed in your project to uninstall

Menu